MCPcopy Create free account
hub / github.com/docker/getting-started / camelize

Function camelize

app/src/static/js/react-bootstrap.js:2386–2390  ·  view source on GitHub ↗
(string)

Source from the content-addressed store, hash-verified

2384var rHyphen = /-(.)/g;
2385
2386function camelize(string) {
2387 return string.replace(rHyphen, function (_, chr) {
2388 return chr.toUpperCase();
2389 });
2390}
2391
2392module.exports = exports["default"];
2393

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…