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

Function getBooleanAttrName

test/angular/1.6/angular.js:3559–3565  ·  view source on GitHub ↗
(element, name)

Source from the content-addressed store, hash-verified

3557};
3558
3559function getBooleanAttrName(element, name) {
3560 // check dom last since we will most likely fail on name
3561 var booleanAttr = BOOLEAN_ATTR[name.toLowerCase()];
3562
3563 // booleanAttr is here twice to minimize DOM access
3564 return booleanAttr && BOOLEAN_ELEMENTS[nodeName_(element)] && booleanAttr;
3565}
3566
3567function getAliasedAttrName(name) {
3568 return ALIASED_ATTR[name];

Callers 2

$CompileProviderFunction · 0.70
collectDirectivesFunction · 0.70

Calls 1

nodeName_Function · 0.70

Tested by

no test coverage detected