mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 10:07:48 +00:00
Bump to v3.1.0.
This commit is contained in:
committed by
John-David Dalton
parent
3b2df88eab
commit
1608d89174
@@ -22,7 +22,7 @@ define(['../internal/createCompounder'], function(createCompounder) {
|
||||
*/
|
||||
var camelCase = createCompounder(function(result, word, index) {
|
||||
word = word.toLowerCase();
|
||||
return index ? (result + word.charAt(0).toUpperCase() + word.slice(1)) : word;
|
||||
return result + (index ? (word.charAt(0).toUpperCase() + word.slice(1)) : word);
|
||||
});
|
||||
|
||||
return camelCase;
|
||||
|
||||
Reference in New Issue
Block a user