mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 17:05:17 +00:00
fixed bug with initialization of lOptimizeParams
This commit is contained in:
parent
0a1b2daa24
commit
109cebf15b
1 changed files with 2 additions and 5 deletions
|
|
@ -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=[{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue