Address review comments, linter and build concerns
This commit is contained in:
parent
3fd82e6359
commit
665578060e
5 changed files with 224 additions and 208 deletions
|
|
@ -99,7 +99,7 @@ module.exports = function(options) {
|
|||
}
|
||||
}
|
||||
function removeChild(child) {
|
||||
if (child == null || typeof child !== 'object' || !("nodeType" in child)) {
|
||||
if (child == null || typeof child !== "object" || !("nodeType" in child)) {
|
||||
throw new TypeError("Failed to execute removeChild, parameter is not of type 'Node'")
|
||||
}
|
||||
var index = this.childNodes.indexOf(child)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue