Fixed missing domApi argument in recursive toVNode() call

pull/364/head
K 7 years ago committed by André Staltz
parent 410d2b3a27
commit fb04f628f3

@ -22,7 +22,7 @@ export function toVNode(node: Node, domApi?: DOMAPI): VNode {
}
}
for (i = 0, n = elmChildren.length; i < n; i++) {
children.push(toVNode(elmChildren[i]));
children.push(toVNode(elmChildren[i], domApi));
}
return vnode(sel, {attrs}, children, undefined, node);
} else if (api.isText(node)) {

Loading…
Cancel
Save