Mu
Mu copied to clipboard
A Node.js Mustache template engine (and compiler)
NOTE: This is not a bot. This change was made by and comments will be reviewed by humans. We are using this service account to be able to track the...
parser.js line 133: util.puts("Changing tag: " + content) causes this
I get this error from node when using the `compileAndRender` function from mu: > (node:6649) DeprecationWarning: util.puts is deprecated. Use console.log instead. So I replaced the `util.puts` with `console.log`.
maybe i missed it, but when iterating through a simple array like [1, 2, 3, 4], shouldn't {{.}} indicate the current item? how to handle unnamed items?
Quick fix for the exceeding stack size issue.
Is there anyway to write the output of mu.compileAndRender to a html file? Ive been trying with fs.writefile and all I get is partially formatted html with broken tags.
``` Currently mu does not support changing the tag form ({{ }} to say ). ```
My old [node-ios7crypt](https://github.com/mcandre/node-ios7crypt/tree/7fe7aa864a500d1c98309aeaf32c214d28dfefe9) web app would silently crash when referencing mustache template files that did not exist. Would be nice if mustache caught this error before attempting to read from...