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

Function getBooleanAttrName

test/angular/1.2/angular.js:2619–2625  ·  view source on GitHub ↗
(element, name)

Source from the content-addressed store, hash-verified

2617});
2618
2619function getBooleanAttrName(element, name) {
2620 // check dom last since we will most likely fail on name
2621 var booleanAttr = BOOLEAN_ATTR[name.toLowerCase()];
2622
2623 // booleanAttr is here twice to minimize DOM access
2624 return booleanAttr && BOOLEAN_ELEMENTS[element.nodeName] && booleanAttr;
2625}
2626
2627forEach({
2628 data: jqLiteData,

Callers 2

$CompileProviderFunction · 0.70
collectDirectivesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected