|
|
@ -1420,12 +1420,15 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons |
|
|
|
var context = this.context; |
|
|
|
var context = this.context; |
|
|
|
var inject = this.inject; |
|
|
|
var inject = this.inject; |
|
|
|
var childContext = this.childContext; |
|
|
|
var childContext = this.childContext; |
|
|
|
|
|
|
|
var provide = this.provide; |
|
|
|
var watch$$1 = this.watch; |
|
|
|
var watch$$1 = this.watch; |
|
|
|
var actions = this.actions; |
|
|
|
var actions = this.actions; |
|
|
|
var keys = _.keys(this.$$model).concat(_.keys(state)).concat(_.keys(computed)).concat(inject || []).concat(context || []); |
|
|
|
var keys = _.keys(this.$$model).concat(_.keys(state)).concat(_.keys(computed)).concat(inject || []).concat(context || []); |
|
|
|
var mixins = this.mixins; |
|
|
|
var mixins = this.mixins; |
|
|
|
defineProps(this, keys); |
|
|
|
defineProps(this, keys); |
|
|
|
|
|
|
|
// deprecated
|
|
|
|
childContext && defineContext(this, childContext); |
|
|
|
childContext && defineContext(this, childContext); |
|
|
|
|
|
|
|
provide && defineContext(this, provide); |
|
|
|
this.$$model && (this.model.__ob__ = this.$$model.__ob__); |
|
|
|
this.$$model && (this.model.__ob__ = this.$$model.__ob__); |
|
|
|
initMixins(this, mixins); |
|
|
|
initMixins(this, mixins); |
|
|
|
this.init(); |
|
|
|
this.init(); |
|
|
|