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

Function directiveNormalize

test/angular/1.3/angular.js:8294–8296  ·  view source on GitHub ↗

* Converts all accepted directives format into proper directive name. * @param name Name to normalize

(name)

Source from the content-addressed store, hash-verified

8292 * @param name Name to normalize
8293 */
8294function directiveNormalize(name) {
8295 return camelCase(name.replace(PREFIX_REGEXP, ''));
8296}
8297
8298/**
8299 * @ngdoc type

Callers 2

collectDirectivesFunction · 0.70
angular.jsFile · 0.70

Calls 1

camelCaseFunction · 0.70

Tested by

no test coverage detected