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