chore: remove unnecessary code

This commit is contained in:
Evan You 2019-09-12 00:37:44 -04:00
parent b30b17d22d
commit b378b17076
2 changed files with 1 additions and 7 deletions

View File

@ -1517,7 +1517,6 @@ export function createRenderer<
anchor
)
suspense.container = container
// suspense.anchor = anchor
return
}
if (vnode.type === Fragment) {

View File

@ -32,12 +32,7 @@ export const nodeOps = {
el.textContent = text
},
parentNode: (node: Node): Node | null => {
if (!node) {
debugger
}
return node.parentNode
},
parentNode: (node: Node): Node | null => node.parentNode,
nextSibling: (node: Node): Node | null => node.nextSibling,