fixed bug in object Minify, doit function, more processing function did not return final_code so changes was not saving, and clien side loaded keyBinding.js and cloudfunc.js full sized versions

This commit is contained in:
coderaiser 2012-07-10 04:45:50 -04:00
parent 33e8562641
commit 25a076b7ea
2 changed files with 5 additions and 4 deletions

@ -1 +1 @@
Subproject commit 69756c6f1587ca1ba709f3c00b79797c08c6606b
Subproject commit e3dc2e6f085172e5fea02cb767994a145219723c

View file

@ -163,7 +163,7 @@ CloudServer.Minify={
'git submodule update');
}
this.MinFolder = '/' + lMinify.MinFolder;
var lMinFolder=this.MinFolder;
this.done.js=this._allowed.js?
lMinify.jsScripts(['client.js',
'lib/cloudfunc.js',
@ -187,8 +187,9 @@ CloudServer.Minify={
(pFinalCode = pFinalCode
.replace('cloudfunc.js','cloudfunc.min.js')
.replace('keyBinding.js','keyBinding.min.js')
.replace('/lib/', this.MinFolder)
.replace('/lib/client/', this.MinFolder)).length);
.replace('/lib/', lMinFolder)
.replace('/lib/client/', lMinFolder)).length);
return pFinalCode;
}})
:false;