fixed bug with initialization of lOptimizeParams

This commit is contained in:
coderaiser 2012-07-16 12:45:02 +03:00
parent 0a1b2daa24
commit 109cebf15b

View file

@ -81,10 +81,7 @@ exports.Minify={
*/
setAllowed :(function(pAllowed){
if(pAllowed){
this._allowed.css=pAllowed.css;
this._allowed.js=pAllowed.js;
this._allowed.html=pAllowed.html;
this._allowed.img=pAllowed.img;
this._allowed=pAllowed;
}
}),
@ -148,7 +145,7 @@ exports.Minify={
return pFinalCode;
};
var lOptimizeParams;
var lOptimizeParams = [];
if (this._allowed.js) {
lOptimizeParams=[{