Bundled output for commit 4fc9368a30 [skip ci]
This commit is contained in:
parent
4fc9368a30
commit
4b626896fc
3 changed files with 41 additions and 40 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue