Github user robertkowalski commented on the pull request:
https://github.com/apache/couchdb-fauxton/pull/310#issuecomment-77590737
i am not sure if i understand your question... fauxton's "html"-files are
lodash templates where you can write javascript inside those guys: `<% %>`
the templates are then converted to js code and the the js in those <% %>
is evaluated before the templates are converted to full js code and get
embedded in our AMD modules - that process strips comments from the js (like /*
foo */ or // foo )
i don't see why this could break a release build
in general we are slowly moving from <!-- --> in all of our html files to
<% /* */ %> because it make sinspecting the DOM easier and has no negative
effect on the production-build
in less files we use usually // but /* is also valid
// gets stripped on a build, /* not
(for less files)
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---