Hacker News new | ask | show | jobs
by seiji 5028 days ago
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.

1 comments

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