Closed illyfrancis closed 11 years ago
This is done. Only drawback is the template must be served from a web server and can't be used in static way, unless it is concatenated via an optimization process such as r.js (because all templates are in a single resource, so no issue with access).
There is still an outstanding issue with unit testing for a view when it requires a template, creating a new issue #47.
close this one.
http://addyosmani.github.com/backbone-fundamentals/#keeping-your-templates-external-using-requirejs-and-the-text-plugin