MCPcopy Create free account
hub / github.com/cafebazaar/blacksmith / directiveNormalize

Function directiveNormalize

web/static/bower_components/angular/angular.js:8904–8906  ·  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

8902 * @param name Name to normalize
8903 */
8904function directiveNormalize(name) {
8905 return camelCase(name.replace(PREFIX_REGEXP, ''));
8906}
8907
8908/**
8909 * @ngdoc type

Callers 2

collectDirectivesFunction · 0.85
angular.jsFile · 0.85

Calls 1

camelCaseFunction · 0.85

Tested by

no test coverage detected