Bundled output for commit 74ded82165 [skip ci]
This commit is contained in:
parent
74ded82165
commit
6b15378c41
3 changed files with 43 additions and 48 deletions
|
|
@ -430,11 +430,7 @@ var coreRenderer = function($window) {
|
|||
return element
|
||||
}
|
||||
function createComponent(vnode, hooks, ns) {
|
||||
// For object literals since `Vnode()` always sets the `state` field.
|
||||
if (!vnode.state) vnode.state = {}
|
||||
var constructor = function() {}
|
||||
constructor.prototype = vnode.tag
|
||||
vnode.state = new constructor
|
||||
vnode.state = Object.create(vnode.tag)
|
||||
var view = vnode.tag.view
|
||||
if (view.reentrantLock != null) return $emptyFragment
|
||||
view.reentrantLock = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue