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

Debug=true causing javascript file to load commented #318

Open
GoogleCodeExporter opened this issue Jun 9, 2015 · 0 comments
Open

Debug=true causing javascript file to load commented #318

GoogleCodeExporter opened this issue Jun 9, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

Are you sure this is not a problem with your configuration? (ask on the
Google Group)

Minify commit/version:
PHP version: 5.4.19

What steps will reproduce the problem?
1. Call Minify to load some files with "&debug=true"
2. Verifiy that first file is all commented
3. Call Minify withtout debug, first file loaded normally

Expected output:
All files loaded normally

Actual output:
For some reason, the first file on the sequence is loaded commented. Something 
in the code that adds the line prefix is not working as it should.

The file in question is attached (it is already minified).

If I use the debug=true in the call, this is how it gets loaded:
The call: 
http://localhost/doacoes/min/f=js/jquery.plugin.min.js,js/jquery.datepick.min.js
,js/jquery.datepick-pt-BR.js&debug=true

/* 1 */ /** Abstract base class for collection plugins v1.0.1.
/* 2 *|     Written by Keith Wood (kbwood{at}iinet.com.au) December 2013.
/* 3 *|     Licensed under the MIT 
(https://github.com/jquery/jquery/blob/master/MIT-LICENSE.txt) license. */
/* 4 *| (function(){var j=false;window.JQClass=function(){};JQClass.classes={}; 
[...]

Original issue reported on code.google.com by cdech...@gmail.com on 19 Jun 2014 at 2:51

Attachments:

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

No branches or pull requests

1 participant