Re:Backbone UI
by MatthewPhillips on Tuesday June 19, 2012 @03:09PM
(#4133573)
I threw together this gist which does your suggestion: https://gist.github.com/2955953
Use like thus:
var tmpl = document.getElementById('myblog').template;
Re:Backbone UI
by Kilimanjaro on Tuesday June 19, 2012 @03:46PM
(#4133752)
Beautiful!
*Besides, being static in nature they would be cached on the server and client for instant access.