Update case examples.

This commit is contained in:
John-David Dalton
2016-03-17 21:09:31 -07:00
parent 8c5025f935
commit 6ef8693bf0
2 changed files with 12 additions and 12 deletions

View File

@@ -12719,10 +12719,10 @@
* _.camelCase('Foo Bar');
* // => 'fooBar'
*
* _.camelCase('--foo-bar');
* _.camelCase('--foo-bar--');
* // => 'fooBar'
*
* _.camelCase('__foo_bar__');
* _.camelCase('__FOO_BAR__');
* // => 'fooBar'
*/
var camelCase = createCompounder(function(result, word, index) {
@@ -12883,7 +12883,7 @@
* _.kebabCase('fooBar');
* // => 'foo-bar'
*
* _.kebabCase('__foo_bar__');
* _.kebabCase('__FOO_BAR__');
* // => 'foo-bar'
*/
var kebabCase = createCompounder(function(result, word, index) {
@@ -12901,7 +12901,7 @@
* @returns {string} Returns the lower cased string.
* @example
*
* _.lowerCase('--Foo-Bar');
* _.lowerCase('--Foo-Bar--');
* // => 'foo bar'
*
* _.lowerCase('fooBar');
@@ -13149,7 +13149,7 @@
* _.snakeCase('fooBar');
* // => 'foo_bar'
*
* _.snakeCase('--foo-bar');
* _.snakeCase('--FOO-BAR--');
* // => 'foo_bar'
*/
var snakeCase = createCompounder(function(result, word, index) {
@@ -13446,8 +13446,8 @@
* @returns {string} Returns the lower cased string.
* @example
*
* _.toLower('--Foo-Bar');
* // => '--foo-bar'
* _.toLower('--Foo-Bar--');
* // => '--foo-bar--'
*
* _.toLower('fooBar');
* // => 'foobar'
@@ -13471,8 +13471,8 @@
* @returns {string} Returns the upper cased string.
* @example
*
* _.toUpper('--foo-bar');
* // => '--FOO-BAR'
* _.toUpper('--foo-bar--');
* // => '--FOO-BAR--'
*
* _.toUpper('fooBar');
* // => 'FOOBAR'