jamescheney / database-wiki

Automatically exported from code.google.com/p/database-wiki
GNU General Public License v3.0
2 stars 0 forks source link

javascript imports in templates #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

The template mechanism should provide a symbol @imports so that we can add new 
javascript library imports in one place (in the code) instead of once per 
template.

Otherwise we will have to change all the templates manually whenever the 
javascript code we're importing changes.

The default and built-in templates should be changed to take this into account 
too.

Original issue reported on code.google.com by james.ch...@gmail.com on 23 Nov 2011 at 11:05

GoogleCodeExporter commented 9 years ago
Done; ImportHandler class added to handle @import directives.  New javascript 
imports should go there instead of into the templates.

Original comment by james.ch...@gmail.com on 23 Nov 2011 at 11:44