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