MCPcopy Create free account
hub / github.com/microsoft/SandDance / camelize

Function camelize

docs/external/js/react-dom.development.js:4589–4593  ·  view source on GitHub ↗
(string)

Source from the content-addressed store, hash-verified

4587 var warnedForInfinityValue = false;
4588
4589 var camelize = function (string) {
4590 return string.replace(hyphenPattern, function (_, character) {
4591 return character.toUpperCase();
4592 });
4593 };
4594
4595 var warnHyphenatedStyleName = function (name) {
4596 if (warnedStyleNames.hasOwnProperty(name) && warnedStyleNames[name]) {

Callers 1

warnHyphenatedStyleNameFunction · 0.85

Calls 1

replaceMethod · 0.80

Tested by

no test coverage detected