mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
refactored
This commit is contained in:
parent
018fe31128
commit
98b6b773b1
2 changed files with 3 additions and 1 deletions
|
|
@ -194,11 +194,13 @@
|
|||
|
||||
main.sendFile({
|
||||
name : lSendName,
|
||||
gzip : true,
|
||||
request : pReq,
|
||||
response : pRes
|
||||
});
|
||||
}, function(pCallBack){
|
||||
Minify.optimize(lName, {
|
||||
gzip : true,
|
||||
request : pReq,
|
||||
response : pRes,
|
||||
callback : pCallBack,
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@
|
|||
if(pChanged)
|
||||
Minify.optimize(pName, pParams);
|
||||
else
|
||||
main.sendFile(pParams);
|
||||
Util.exec(pParams.callback, pParams);
|
||||
});
|
||||
}
|
||||
else{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue