Bundled output for commit 74ded82165 [skip ci]

This commit is contained in:
Gandalf-the-Bot 2017-01-07 03:36:49 +00:00
parent 74ded82165
commit 6b15378c41
3 changed files with 43 additions and 48 deletions

View file

@ -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