Is it possible to add non html comment in underscore.js or lodash templates?
javascript, lodash, underscore.js
Solution
It is a client side template, you'll still see the comment, but it won't repeat etc...
<%
// comments go here
%>
Problem
Is it possible to add non html comments in underscore.js or lodash ? Something like : ``` <%-- We do this here because... %> ``` So that the comment is not in the resulting generated html code ? If I write : ``` <!-- We do this here because... --> ``` The comment is in the resulting html. Thank you.