refactor: remove replaceChild from nodeOps

This commit is contained in:
Evan You
2018-10-02 14:00:29 -04:00
parent adfe0ee7bf
commit dcc3e98937
2 changed files with 0 additions and 14 deletions

View File

@@ -18,10 +18,6 @@ export const nodeOps = {
parent.insertBefore(child, ref)
},
replaceChild: (parent: Node, oldChild: Node, newChild: Node) => {
parent.replaceChild(newChild, oldChild)
},
removeChild: (parent: Node, child: Node) => {
parent.removeChild(child)
},