MCPcopy Create free account
hub / github.com/EricSimons/ionic-course / directiveNormalize

Function directiveNormalize

code/songhop/www/lib/angular/angular.js:8207–8209  ·  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

8205 * @param name Name to normalize
8206 */
8207function directiveNormalize(name) {
8208 return camelCase(name.replace(PREFIX_REGEXP, ''));
8209}
8210
8211/**
8212 * @ngdoc type

Callers 2

collectDirectivesFunction · 0.70
angular.jsFile · 0.70

Calls 1

camelCaseFunction · 0.70

Tested by

no test coverage detected