Bundled output for commit 4fc9368a30 [skip ci]

This commit is contained in:
Gandalf-the-Bot 2017-01-07 20:20:45 +00:00
parent 4fc9368a30
commit 4b626896fc
3 changed files with 41 additions and 40 deletions

View file

@ -5,7 +5,7 @@ function Vnode(tag, key, attrs0, children, text, dom) {
}
Vnode.normalize = function(node) {
if (Array.isArray(node)) return Vnode("[", undefined, undefined, Vnode.normalizeChildren(node), undefined, undefined)
if (node != null && typeof node !== "object") return Vnode("#", undefined, undefined, node, undefined, undefined)
if (node != null && typeof node !== "object") return Vnode("#", undefined, undefined, node === false ? "" : node, undefined, undefined)
return node
}
Vnode.normalizeChildren = function normalizeChildren(children) {