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 anchor
) )
suspense.container = container suspense.container = container
// suspense.anchor = anchor
return return
} }
if (vnode.type === Fragment) { if (vnode.type === Fragment) {

View File

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