Closed jaysonpotter closed 6 years ago
Made a small quick modification to the underscore support render method to allow the template partials to get compiled allowing data to get passed to those as well.
var user = {username: 'Beetlejuice'}; <%= partials.xanadu(user) %>
Ya dig?
Thanks!
Will you add a fixture for this in test/fixtures/underscore and include underscore in the partials tests? I'll review this weekend and get it merged.
test/fixtures/underscore
underscore
partials
Oh you bet! Happy to and THANK YOU!
Made a small quick modification to the underscore support render method to allow the template partials to get compiled allowing data to get passed to those as well.
var user = {username: 'Beetlejuice'}; <%= partials.xanadu(user) %>
Ya dig?