Bundled output for commit 39c20bdb34 [skip ci]
This commit is contained in:
parent
39c20bdb34
commit
65e2561c55
5 changed files with 13 additions and 11 deletions
|
|
@ -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 = ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue