Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 67619
Status: resolved
Priority: 0/
Queue: JavaScript-Packer

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

Bug Information
Severity: Normal
Broken in: 1.003_001
Fixed in: 1.003_002



Option 'comment' does not work when used in conjunction with { compress => 'obfuscate' } I attached a patch for this but I assume you will have your own way for dealing with this issue.
Subject: Packer.pm.patch
378c378 < $opts->{copyright} = ( $opts->{copyright} and $opts->{compress} eq 'clean' ) ? ( '/* ' . $opts->{copyright} . ' */' ) : ''; --- > $opts->{copyright} = ( $opts->{copyright} ) ? ( '/* ' . $opts->{copyright} . ' */' ) : '';