jsfiddle/togetherjs

remove ejs from all JS

ianb opened this issue · 2 comments

ianb commented

We can put reasonable defaults into all the .js files and do string substitution instead of ejs-interpreting.

The one exception is templating.js, which I'm not sure if there's any better way to handle. We may or may not want to compile towtruck.less in the browser; I think it's actually more debuggable when precompiled.

ianb commented

Just to note, almost everything using ejs is a default configuration that we're setting. These can be overridden with configuration (TowTruck.config() etc), so you can use the files with the wrong configuration and then just reconfigure them to ignore that configuration.

ianb commented

Declaring victory for now, as the EJS is at least optional. Except templates.js