mirror of
https://github.com/henrywhitaker3/Speedtest-Tracker.git
synced 2025-12-24 22:39:26 +01:00
13 lines
250 B
JavaScript
Vendored
13 lines
250 B
JavaScript
Vendored
"use strict";
|
|
|
|
exports.__esModule = true;
|
|
exports.default = camelize;
|
|
var rHyphen = /-(.)/g;
|
|
|
|
function camelize(string) {
|
|
return string.replace(rHyphen, function (_, chr) {
|
|
return chr.toUpperCase();
|
|
});
|
|
}
|
|
|
|
module.exports = exports["default"]; |