Cleaning up some messy code
This commit is contained in:
parent
cb9785de91
commit
b9f1cfae55
@ -46,13 +46,11 @@ export default {
|
|||||||
this.setContainer(container);
|
this.setContainer(container);
|
||||||
}
|
}
|
||||||
|
|
||||||
var promise = this._render();
|
return this._render().then(_.constant(this));
|
||||||
return promise.then(_.constant(this));
|
|
||||||
},
|
},
|
||||||
|
|
||||||
proxy(node) {
|
proxy(node) {
|
||||||
this._proxy = node;
|
return node.render(this.container);
|
||||||
return this._proxy.render(this.container);
|
|
||||||
},
|
},
|
||||||
|
|
||||||
_render() {
|
_render() {
|
||||||
|
Loading…
Reference in New Issue
Block a user