MCPcopy Index your code
hub / github.com/angular-ui/ui-router / directiveNormalize

Function directiveNormalize

test/angular/1.2/angular.js:7193–7195  ·  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

7191 * @param name Name to normalize
7192 */
7193function directiveNormalize(name) {
7194 return camelCase(name.replace(PREFIX_REGEXP, ''));
7195}
7196
7197/**
7198 * @ngdoc type

Callers 2

collectDirectivesFunction · 0.70
angular.jsFile · 0.70

Calls 1

camelCaseFunction · 0.70

Tested by

no test coverage detected