Allow fixtures to load templates
Opened this issue · 1 comments
anacronw commented
It would be awesome if fixture support allowed you to plug in various client-side templating engines like jade, haml, ejs, etc.
maraujop commented
Currently I'm using the library to load a template as a string and then passing it to the template engine, in my case to ICanHaz. This is as easy as one line.
What I think would be great to have, is the possibility to load templates from several directories. As I use fixtures
for loading templates and also fixtures for AJAX stubbing. So I have a .json
file that I load through fixtures and pass to an AJAX mocking library like jquery-mockjax.
Cheers,
Miguel