(parentNode, element, after)
| 3516 | } |
| 3517 | } |
| 3518 | function _moveBefore(parentNode, element, after) { |
| 3519 | if (parentNode.moveBefore) { |
| 3520 | try { |
| 3521 | parentNode.moveBefore(element, after); |
| 3522 | return; |
| 3523 | } catch (e) { |
| 3524 | } |
| 3525 | } |
| 3526 | parentNode.insertBefore(element, after); |
| 3527 | } |
| 3528 | function _copyAttributes(destination, source) { |
| 3529 | for (var attr of source.attributes) { |
| 3530 | if (destination.getAttribute(attr.name) !== attr.value) { |
no outgoing calls
no test coverage detected