mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 09:27:49 +00:00
Bump to v4.7.0.
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
define(['./_createCompounder'], function(createCompounder) {
|
||||
|
||||
/**
|
||||
* Converts `string` to [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles).
|
||||
* Converts `string` to
|
||||
* [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles).
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
* @since 3.0.0
|
||||
* @category String
|
||||
* @param {string} [string=''] The string to convert.
|
||||
* @returns {string} Returns the kebab cased string.
|
||||
@@ -16,7 +18,7 @@ define(['./_createCompounder'], function(createCompounder) {
|
||||
* _.kebabCase('fooBar');
|
||||
* // => 'foo-bar'
|
||||
*
|
||||
* _.kebabCase('__foo_bar__');
|
||||
* _.kebabCase('__FOO_BAR__');
|
||||
* // => 'foo-bar'
|
||||
*/
|
||||
var kebabCase = createCompounder(function(result, word, index) {
|
||||
|
||||
Reference in New Issue
Block a user