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

Upgrade to use latest mustache.js. Compile templates once rather than every time they're requested. #68

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

floatplane
Copy link
Collaborator

If you're interested, this request takes mustache.js up to 0.7.2 and uses Mustache.compile() to speed up repeated applications of the template function.

I added indentation to the base ICanHaz.js output for my own sanity, so the diff of that file isn't terribly readable. Sorry.

@sylvainpolletvillard
Copy link

Thanks mate, I was looking for this ! This update fix some issues I had with whitespaces in my templates.

@HenrikJoreteg
Copy link
Owner

@floatplane Sorry for the delay, I simply don't have time to maintain this lib any more and don't actively use it. I'm giving you commit access. Feel free to merge this yourself if everything looks good. Please do your best to make sure everything follows the style and philosophy of the library.

@HenrikJoreteg
Copy link
Owner

Sorry this has been sitting too long, I'm not actively using this project and have been having trouble keeping up with maintenance, would be happy to add you if you're interested: #81

@floatplane
Copy link
Collaborator Author

Sorry for not picking this up and merging it in the first place. I've moved on to other things as well. Thanks for your efforts though, this project was very useful!

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

Successfully merging this pull request may close these issues.

3 participants