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

Function directiveNormalize

test/angular/1.5/angular.js:10338–10340  ·  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

10336 * @param name Name to normalize
10337 */
10338function directiveNormalize(name) {
10339 return camelCase(name.replace(PREFIX_REGEXP, ''));
10340}
10341
10342/**
10343 * @ngdoc type

Callers 4

collectDirectivesFunction · 0.70
collectCommentDirectivesFunction · 0.70
applyDirectivesToNodeFunction · 0.70
angular.jsFile · 0.70

Calls 1

camelCaseFunction · 0.70

Tested by

no test coverage detected