Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow fixtures to load templates #2

Open
anacronw opened this issue Jul 31, 2012 · 1 comment
Open

Allow fixtures to load templates #2

anacronw opened this issue Jul 31, 2012 · 1 comment
Assignees

Comments

@anacronw
Copy link
Owner

It would be awesome if fixture support allowed you to plug in various client-side templating engines like jade, haml, ejs, etc.

@ghost ghost assigned anacronw Jul 31, 2012
@maraujop
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants