From fb04f628f37d4e56758733a1b88dd990fe773609 Mon Sep 17 00:00:00 2001 From: K Date: Thu, 14 Dec 2017 22:09:28 +0500 Subject: [PATCH] Fixed missing domApi argument in recursive toVNode() call --- src/tovnode.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tovnode.ts b/src/tovnode.ts index 7ba1944..313c8eb 100644 --- a/src/tovnode.ts +++ b/src/tovnode.ts @@ -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)) {