mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 17:05:17 +00:00
minor changes
This commit is contained in:
parent
fa6e3ac6be
commit
999d57d1d8
1 changed files with 4 additions and 6 deletions
|
|
@ -54,8 +54,6 @@
|
|||
return this._allowed;
|
||||
}
|
||||
|
||||
console.log(this._allowed);
|
||||
|
||||
/*
|
||||
* temporary changed dir path,
|
||||
* becouse directory lib is write
|
||||
|
|
@ -71,10 +69,10 @@
|
|||
if (this._allowed.js) {
|
||||
lOptimizeParams.push('client.js');
|
||||
}
|
||||
|
||||
|
||||
if (this._allowed.html)
|
||||
lOptimizeParams.push(this.INDEX);
|
||||
|
||||
|
||||
if (this._allowed.css) {
|
||||
lOptimizeParams.push({
|
||||
'./css/style.css' : this._allowed.img
|
||||
|
|
@ -84,8 +82,8 @@
|
|||
'./css/reset.css': this._allowed.img
|
||||
});
|
||||
}
|
||||
|
||||
if (lOptimizeParams)
|
||||
|
||||
if (lOptimizeParams.length)
|
||||
lMinify.optimize(lOptimizeParams);
|
||||
|
||||
this.Cache = lMinify.Cache;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue