Saturday, February 02, 2013

Rendering Views in Backbone.js Isn't Always Simple by Ian Storm Taylor

Rendering Views in Backbone.js Isn't Always Simple by Ian Storm Taylor: "render : function () {
this.$el.$html(this.template());

this.subview.setElement(this.$('.subview')).render();
this.anotherSubview.setElement(this.$('.another-subview')).render();
return this;
}"

'via Blog this'