shouldUpdate, component oninit order fix
This commit is contained in:
parent
875984c177
commit
ead2e8ac0b
10 changed files with 329 additions and 82 deletions
|
|
@ -63,7 +63,7 @@ function hyperscript(selector) {
|
|||
}
|
||||
|
||||
if (typeof selector === "string") return selectorCache[selector](attrs || {}, Node.normalizeChildren(children))
|
||||
return Node(selector, attrs && attrs.key, attrs, Node.normalizeChildren(children), undefined, undefined)
|
||||
return Node(selector, attrs && attrs.key, attrs || {}, Node.normalizeChildren(children), undefined, undefined)
|
||||
}
|
||||
|
||||
function changeNS(ns, vnode) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue