commentparser

Removes JavaScript comments from source text

Comment Parser

Removes multiline and normal comments from JavaScript source code.

Adapted from code by James Padolsey (http://james.padolsey.com/javascript/removing-comments-in-javascript/)

MIT