Cleaning up some messy code

This commit is contained in:
Jeff Avallone 2014-12-13 13:00:46 -05:00
parent cb9785de91
commit b9f1cfae55

View File

@ -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() {