(element, name)
| 3073 | }; |
| 3074 | |
| 3075 | function getBooleanAttrName(element, name) { |
| 3076 | // check dom last since we will most likely fail on name |
| 3077 | var booleanAttr = BOOLEAN_ATTR[name.toLowerCase()]; |
| 3078 | |
| 3079 | // booleanAttr is here twice to minimize DOM access |
| 3080 | return booleanAttr && BOOLEAN_ELEMENTS[nodeName_(element)] && booleanAttr; |
| 3081 | } |
| 3082 | |
| 3083 | function getAliasedAttrName(name) { |
| 3084 | return ALIASED_ATTR[name]; |
no test coverage detected