Bundled output for commit 39c20bdb34 [skip ci]

This commit is contained in:
Gandalf-the-Bot 2019-01-07 09:58:33 +00:00
parent 39c20bdb34
commit 65e2561c55
5 changed files with 13 additions and 11 deletions

View file

@ -133,11 +133,12 @@ function hyperscript(selector) {
}
var vnode = hyperscriptVnode.apply(1, arguments)
if (typeof selector === "string") {
return execSelector(selectorCache[selector] || compileSelector(selector), vnode)
} else {
vnode.tag = selector
return vnode
vnode.children = Vnode.normalizeChildren(vnode.children)
if (selector !== "[") return execSelector(selectorCache[selector] || compileSelector(selector), vnode)
}
vnode.tag = selector
return vnode
}
hyperscript.trust = function(html) {
if (html == null) html = ""