We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1f146d commit 9f18cbeCopy full SHA for 9f18cbe
dist/lib/String.js
@@ -17,7 +17,7 @@
17
value: true
18
});
19
var camelize = exports.camelize = function camelize(str) {
20
- return str.split(' ').map(function (word) {
+ return str.split('_').map(function (word) {
21
return word.charAt(0).toUpperCase() + word.slice(1);
22
}).join('');
23
};
0 commit comments