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

Function kebabToCamel

test/angular/1.7/angular.js:3126–3129  ·  view source on GitHub ↗

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

(name)

Source from the content-addressed store, hash-verified

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

Callers 2

cssKebabToCamelFunction · 0.70
jqLiteDataFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected