(parentNode, element, after)
| 185 | } |
| 186 | |
| 187 | function _moveBefore(parentNode, element, after) { |
| 188 | if (parentNode.moveBefore) { |
| 189 | try { parentNode.moveBefore(element, after); return; } catch (e) {} |
| 190 | } |
| 191 | parentNode.insertBefore(element, after); |
| 192 | } |
| 193 | |
| 194 | function _copyAttributes(destination, source) { |
| 195 | for (var attr of source.attributes) { |
no outgoing calls
no test coverage detected