MCPcopy Create free account
hub / github.com/Foxandxss/sails-angular-jwt-example / directiveNormalize

Function directiveNormalize

assets/js/dependencies/angular.js:7138–7140  ·  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.85
angular.jsFile · 0.85

Calls 1

camelCaseFunction · 0.85

Tested by

no test coverage detected