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

Function getBooleanAttrName

lib/test/angular/1.4.3/angular.js:3047–3053  ·  view source on GitHub ↗
(element, name)

Source from the content-addressed store, hash-verified

3045};
3046
3047function getBooleanAttrName(element, name) {
3048 // check dom last since we will most likely fail on name
3049 var booleanAttr = BOOLEAN_ATTR[name.toLowerCase()];
3050
3051 // booleanAttr is here twice to minimize DOM access
3052 return booleanAttr && BOOLEAN_ELEMENTS[nodeName_(element)] && booleanAttr;
3053}
3054
3055function getAliasedAttrName(element, name) {
3056 var nodeName = element.nodeName;

Callers 2

$CompileProviderFunction · 0.70
collectDirectivesFunction · 0.70

Calls 1

nodeName_Function · 0.70

Tested by

no test coverage detected