Skip Menu |

This queue is for tickets about the JavaScript-Minifier-XS CPAN distribution.

Report information
The Basics
Id: 62075
Status: open
Priority: 0/
Queue: JavaScript-Minifier-XS

People
Owner: Nobody in particular
Requestors: CYCLES [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Multiple line comments are not removed
For example, the following can be seen in the minified JS: /*! * jQuery JavaScript Library v1.4.2 * http://jquery.co ... */ But this can be safely removed.
If the comment happens to contain the word "copyright" in it, the comment will be preserved in its entirety (under the assumption that its a copyright notice). Perhaps... a "preserve_copyright => 0" option to "minify()" would suit your needs? Defaulting to "yes, copyright statements need to be preserved", but which would allow you to explicitly state that you want them removed.