News for hackers. Stuff that matters.
Re:Backbone.js views done right by masklinn on Thursday June 14, 2012 @01:08PM (#4112359)
> or if you were in earnest about only needing the raw HTML from the sub-view, how about just rendering the row templates within the table template, making your render function as simple as this:

And if you want to delegate the handling of these DOM lines to sub-views (for event handling), you can instantiate them after rendering and call `View#setElement` with a row each.

There are no comments on this comment yet.