underscore.js template support

108 views
Skip to first unread message

Brent Wood

unread,
Nov 10, 2013, 1:02:40 PM11/10/13
to ren...@googlegroups.com
hello spike - nice work on rendr. 

i have a backbone.js application which relies heavily upon underscore templates. will render support underscore templates?

Christoph Neuroth

unread,
Nov 11, 2013, 4:56:12 PM11/11/13
to ren...@googlegroups.com
Hi Brent


On Sunday, November 10, 2013 7:02:40 PM UTC+1, Brent Wood wrote:
hello spike - nice work on rendr. 

i have a backbone.js application which relies heavily upon underscore templates. will render support underscore templates?
Rendr was originally built using handlebars, but that part has been modularized and it should be easily possible to write an adapter for underscore templates. Have a look at the implementation of rendr-handlebars: https://github.com/airbnb/rendr-handlebars 

Chris

Spike Brehm

unread,
Nov 18, 2013, 7:22:15 PM11/18/13
to ren...@googlegroups.com
I would love to see a template adapter for Underscore templates.  It should be pretty straightforward.  Follow Christoph's link to rendr-handlebars to see how to write such an adapter.
Reply all
Reply to author
Forward
0 new messages