mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
Changed the way Minify post-processing js-files so, from now in Minify object post-processing functions passed like this {client.js: function(){}}
This commit is contained in:
parent
64e801f7ea
commit
a95d07e6d8
3 changed files with 15 additions and 13 deletions
|
|
@ -9,4 +9,7 @@ js-script(or something other) has not loaded.
|
|||
|
||||
* 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.
|
||||
and cloudfunc.js full sized versions.
|
||||
|
||||
* Changed the way Minify post-processing js-files so, from now in Minify object
|
||||
post-processing functions passed like this {'client.js': function(){}}
|
||||
|
|
@ -1 +1 @@
|
|||
Subproject commit e3dc2e6f085172e5fea02cb767994a145219723c
|
||||
Subproject commit 080b6e746f773649fd06aa113a2298fa285478c3
|
||||
21
server.js
21
server.js
|
|
@ -162,23 +162,22 @@ CloudServer.Minify={
|
|||
'git submodule init\n' +
|
||||
'git submodule update');
|
||||
}
|
||||
/*
|
||||
* temporary changed dir path,
|
||||
* becouse directory lib is write
|
||||
* protected by others by default
|
||||
* so if node process is started
|
||||
* from other user (root for example
|
||||
* in nodester) we can not write
|
||||
* minified versions
|
||||
*/
|
||||
this.MinFolder = '/' + lMinify.MinFolder;
|
||||
var lMinFolder=this.MinFolder;
|
||||
this.done.js=this._allowed.js?
|
||||
lMinify.jsScripts(['client.js',
|
||||
'lib/cloudfunc.js',
|
||||
'lib/client/keyBinding.js'],
|
||||
{Name: 'client.js',
|
||||
/*
|
||||
* temporary changed dir path,
|
||||
* becouse directory lib is write
|
||||
* protected by others by default
|
||||
* so if node process is started
|
||||
* from other user (root for example
|
||||
* in nodester) we can not write
|
||||
* minified versions
|
||||
*/
|
||||
Func: function(pFinalCode){
|
||||
{'client.js' : function(pFinalCode){
|
||||
console.log('file name of ' +
|
||||
'cloudfunc.js' +
|
||||
' in ' +
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue