MCPcopy Create free account
hub / github.com/angular-ui/ui-router / cssKebabToCamel

Function cssKebabToCamel

test/angular/1.6/angular.js:3109–3111  ·  view source on GitHub ↗

* Converts kebab-case to camelCase. * There is also a special case for the ms prefix starting with a lowercase letter. * @param name Name to normalize

(name)

Source from the content-addressed store, hash-verified

3107 * @param name Name to normalize
3108 */
3109function cssKebabToCamel(name) {
3110 return kebabToCamel(name.replace(MS_HACK_REGEXP, 'ms-'));
3111}
3112
3113function fnCamelCaseReplace(all, letter) {
3114 return letter.toUpperCase();

Callers 1

angular.jsFile · 0.70

Calls 1

kebabToCamelFunction · 0.70

Tested by

no test coverage detected