MCPcopy Create free account
hub / github.com/curran/screencasts / directiveNormalize

Function directiveNormalize

navigation/bower_components/angular/angular.js:7130–7132  ·  view source on GitHub ↗

* Converts all accepted directives format into proper directive name. * All of these will become 'myDirective': * my:Directive * my-directive * x-my-directive * data-my:directive * * Also there is special case for Moz prefix starting with upper case letter. * @param name Name to norm

(name)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

collectDirectivesFunction · 0.70
angular.jsFile · 0.70

Calls 1

camelCaseFunction · 0.70

Tested by

no test coverage detected