(parentNode, element, after)
| 3676 | } |
| 3677 | } |
| 3678 | function _moveBefore(parentNode, element, after) { |
| 3679 | if (parentNode.moveBefore) { |
| 3680 | try { |
| 3681 | parentNode.moveBefore(element, after); |
| 3682 | return; |
| 3683 | } catch (e) { |
| 3684 | } |
| 3685 | } |
| 3686 | parentNode.insertBefore(element, after); |
| 3687 | } |
| 3688 | function _copyAttributes(destination, source) { |
| 3689 | for (var attr of source.attributes) { |
| 3690 | if (destination.getAttribute(attr.name) !== attr.value) { |
no outgoing calls
no test coverage detected