Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strip single-line javascript comments from the html template before generation #74

Merged
merged 1 commit into from
Apr 3, 2013

Conversation

jaygooby
Copy link
Contributor

They prevent the generated js file from working.

The stripper is really dumb and considers anything after two-forward slashes following a space to be a comment. You'd need a full blown parser to deal with comments, especially multiline, correctly.

They prevent it from working. The stripper is really dumb and considers anything two-forward slashes following a space
to be a comment. You'd need a full blown parser to deal with comments, especially multiline, correctly.
premasagar added a commit that referenced this pull request Apr 3, 2013
Strip single-line javascript comments from the html template before generation
@premasagar premasagar merged commit 0d2ad79 into premasagar:master Apr 3, 2013
@premasagar
Copy link
Owner

Thanks Jay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants