MCPcopy
hub / github.com/angular-ui/ui-router / kebabToCamel

Function kebabToCamel

test/angular/1.6/angular.js:3121–3124  ·  view source on GitHub ↗

* Converts kebab-case to camelCase. * @param name Name to normalize

(name)

Source from the content-addressed store, hash-verified

3119 * @param name Name to normalize
3120 */
3121function kebabToCamel(name) {
3122 return name
3123 .replace(DASH_LOWERCASE_REGEXP, fnCamelCaseReplace);
3124}
3125
3126var SINGLE_TAG_REGEXP = /^<([\w-]+)\s*\/?>(?:<\/\1>|)$/;
3127var HTML_REGEXP = /<|&#?\w+;/;

Callers 2

cssKebabToCamelFunction · 0.70
jqLiteDataFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected