mennake / minify

Automatically exported from code.google.com/p/minify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Debug=true causing javascript file to load commented

GoogleCodeExporter opened this issue · comments

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: