Hacker News new | comments | show | ask | jobs | submit login

Hulk Hogan generates JS functions from your templates too: https://github.com/twitter/hogan.js/blob/master/bin/hulk

You should probably never be parsing templates on the client.

We use RhinoJS to compile our Mustache templates with Hogan, since we don't have a NodeJS environment to compile this in.

I put together this gist as a quick how-to: https://gist.github.com/3719753

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact