|
|
@ -324,7 +324,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons |
|
|
|
uniq[name] = true; |
|
|
|
uniq[name] = true; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
//添加访问器属性
|
|
|
|
//添加访问器属性
|
|
|
|
for (name in accessors) { |
|
|
|
for (name in accessors) { |
|
|
|
if (uniq[name]) { |
|
|
|
if (uniq[name]) { |
|
|
|
continue; |
|
|
|
continue; |
|
|
@ -579,7 +579,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons |
|
|
|
// remove self from vm's watcher list
|
|
|
|
// remove self from vm's watcher list
|
|
|
|
// this is a somewhat expensive operation so we skip it
|
|
|
|
// this is a somewhat expensive operation so we skip it
|
|
|
|
// if the vm is being destroyed.
|
|
|
|
// if the vm is being destroyed.
|
|
|
|
remove(this.vm._watchers, this); |
|
|
|
remove(this.vm && this.vm._watchers, this); |
|
|
|
var i = this.deps.length; |
|
|
|
var i = this.deps.length; |
|
|
|
while (i--) { |
|
|
|
while (i--) { |
|
|
|
this.deps[i].removeSub(this); |
|
|
|
this.deps[i].removeSub(this); |
|
|
@ -1532,4 +1532,4 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons |
|
|
|
exports.toJSON = toJSON; |
|
|
|
exports.toJSON = toJSON; |
|
|
|
|
|
|
|
|
|
|
|
exports.__esModule = true; |
|
|
|
exports.__esModule = true; |
|
|
|
}); |
|
|
|
}); |
|
|
|