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

Function capitalize

docs/external/js/react-dom.development.js:1108–1110  ·  view source on GitHub ↗
(token)

Source from the content-addressed store, hash-verified

1106 var CAMELIZE = /[\-\:]([a-z])/g;
1107
1108 var capitalize = function (token) {
1109 return token[1].toUpperCase();
1110 }; // This is a list of all SVG attributes that need special casing, namespacing,
1111 // or boolean value assignment. Regular attributes that just accept strings
1112 // and have the same names are omitted, just like in the HTML whitelist.
1113 // Some of these attributes can be hard to find. This list was created by

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected