MCPcopy Create free account
hub / github.com/apache/cloudstack / getBooleanAttrName

Function getBooleanAttrName

tools/ngui/static/js/lib/angular.js:1794–1800  ·  view source on GitHub ↗
(element, name)

Source from the content-addressed store, hash-verified

1792});
1793
1794function getBooleanAttrName(element, name) {
1795 // check dom last since we will most likely fail on name
1796 var booleanAttr = BOOLEAN_ATTR[name.toLowerCase()];
1797
1798 // booleanAttr is here twice to minimize DOM access
1799 return booleanAttr && BOOLEAN_ELEMENTS[element.nodeName] && booleanAttr;
1800}
1801
1802forEach({
1803 data: JQLiteData,

Callers 2

$CompileProviderFunction · 0.85
collectDirectivesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected