- Linting (ESLint): Apply latest ash-nazg (with latest unicorn)
- npm: Update devDeps
This commit is contained in:
4
dist/dom-polyfill.js
vendored
4
dist/dom-polyfill.js
vendored
@@ -120,7 +120,8 @@
|
||||
viableNextSibling = viableNextSibling.nextSibling;
|
||||
}
|
||||
|
||||
var node = convertNodesIntoANode(nodes);
|
||||
var node = convertNodesIntoANode(nodes); // eslint-disable-next-line unicorn/prefer-modern-dom-apis
|
||||
|
||||
parent.insertBefore(node, viableNextSibling);
|
||||
},
|
||||
replaceWith: function replaceWith() {
|
||||
@@ -141,6 +142,7 @@
|
||||
if (this.parentNode === parent) {
|
||||
parent.replaceChild(node, this);
|
||||
} else {
|
||||
// eslint-disable-next-line unicorn/prefer-modern-dom-apis
|
||||
parent.insertBefore(node, viableNextSibling);
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user