illyfrancis / bogo

0 stars 0 forks source link

Investigate template with RequireJS #41

Closed illyfrancis closed 11 years ago

illyfrancis commented 11 years ago

http://addyosmani.github.com/backbone-fundamentals/#keeping-your-templates-external-using-requirejs-and-the-text-plugin

illyfrancis commented 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.

illyfrancis commented 11 years ago

close this one.