Comments in mustache.js icanhaz don't work?
I have the following in my template
{{! This is a comment that shouldn't be开发者_如何转开发 rendered }}
I tried it using the demo here: http://mustache.github.com/#demo
And found an example from mustache here: https://github.com/janl/mustache.js/blob/master/examples/comments.html
But comments are rendering in my templates.
I'm using iCanHaz 0.9.
Must be some sort of bug with mustache.js - you should report it to them
If instead you try {{ ! This is a comment that shouldn't be rendered }}
(notice the extra space), the comment will NOT be rendered
精彩评论