News for hackers. Stuff that matters.
Re:Rethinking Backbone.js View Rendering by georgedyer on Friday March 08, 2013 @11:09AM (#5344128)
I'm a big fan of adding a CoffeeKup template method right in the view. Then just call

    @$el.html coffeekup.render @template, @
in my render function. But I suppose that gives up keeping the html markup separate. For ui components, though, it just makes sense to me to keep the structure bundled with the functionality that way.

There are no comments on this comment yet.