(element, name)
| 1792 | }); |
| 1793 | |
| 1794 | function 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 | |
| 1802 | forEach({ |
| 1803 | data: JQLiteData, |
no outgoing calls
no test coverage detected