an ability to create panes actions, player frontend draft
This commit is contained in:
parent
c8b432fe57
commit
ec349d9bb4
16 changed files with 304 additions and 28 deletions
|
@ -24,6 +24,16 @@ var LocalModel = Subscribable.inherit({
|
|||
this.initialized = true;
|
||||
}
|
||||
},
|
||||
"destructor": function() {
|
||||
for (var i = 0; i < this._controllers.length; ++i) {
|
||||
this._controllers[i].destructor();
|
||||
}
|
||||
|
||||
Subscribable.fn.destructor.call(this);
|
||||
},
|
||||
"addController": function(ctrl) {
|
||||
this._controllers.push(ctrl);
|
||||
},
|
||||
"setData": function(data) {
|
||||
this.data = data;
|
||||
this.initialized = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue