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