Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
seiji
· 14y ago · 0 comments
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.
Comments
[–]
grejdi
14y ago
We use RhinoJS to compile our Mustache templates with Hogan, since we don't have a NodeJS environment to compile this in.
[–]
grejdi
14y ago
I put together this gist as a quick how-to:
https://gist.github.com/3719753