##// END OF EJS Templates
Make state_change initialization more conventional
Jason Grout -
Show More
@@ -604,11 +604,11 b' define(["widgets/js/manager",'
604 // will be called in that context.
604 // will be called in that context.
605
605
606 this.initialize.apply(this, arguments);
606 this.initialize.apply(this, arguments);
607 this.state_change = Promise.resolve();
608 }
607 }
609
608
610 _.extend(ViewList.prototype, {
609 _.extend(ViewList.prototype, {
611 initialize: function(create_view, remove_view, context) {
610 initialize: function(create_view, remove_view, context) {
611 this.state_change = Promise.resolve();
612 this._handler_context = context || this;
612 this._handler_context = context || this;
613 this._models = [];
613 this._models = [];
614 this.views = [];
614 this.views = [];
General Comments 0
You need to be logged in to leave comments. Login now