Remove references to _.

This commit is contained in:
John-David Dalton
2017-01-09 17:38:33 -08:00
parent 65654f8f9e
commit 77cc37ba49
410 changed files with 875 additions and 1157 deletions

View File

@@ -5,20 +5,19 @@ import createCompounder from './_createCompounder.js';
* [snake case](https://en.wikipedia.org/wiki/Snake_case).
*
* @static
* @memberOf _
* @since 3.0.0
* @category String
* @param {string} [string=''] The string to convert.
* @returns {string} Returns the snake cased string.
* @example
*
* _.snakeCase('Foo Bar');
* snakeCase('Foo Bar');
* // => 'foo_bar'
*
* _.snakeCase('fooBar');
* snakeCase('fooBar');
* // => 'foo_bar'
*
* _.snakeCase('--FOO-BAR--');
* snakeCase('--FOO-BAR--');
* // => 'foo_bar'
*/
const snakeCase = createCompounder((result, word, index) =>