minor changes

This commit is contained in:
coderaiser 2012-11-14 06:23:37 -05:00
parent fa6e3ac6be
commit 999d57d1d8

View file

@ -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;