initial commit
This commit is contained in:
10
node_modules/es5-ext/string/#/hyphen-to-camel.js
generated
vendored
Normal file
10
node_modules/es5-ext/string/#/hyphen-to-camel.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
"use strict";
|
||||
|
||||
var replace = String.prototype.replace, re = /-([a-z0-9])/g;
|
||||
var toUpperCase = function (ignored, a) {
|
||||
return a.toUpperCase();
|
||||
};
|
||||
|
||||
module.exports = function () {
|
||||
return replace.call(this, re, toUpperCase);
|
||||
};
|
||||
Reference in New Issue
Block a user