(ns, name, value)
| 121 | } |
| 122 | |
| 123 | setAttributeNS(ns, name, value) { |
| 124 | let attr = findWhere(this.attributes, createAttributeFilter(ns, name)); |
| 125 | if (!attr) this.attributes.push(attr = { ns, name }); |
| 126 | attr.value = String(value); |
| 127 | } |
| 128 | getAttributeNS(ns, name) { |
| 129 | let attr = findWhere(this.attributes, createAttributeFilter(ns, name)); |
| 130 | return attr && attr.value; |
no test coverage detected