mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 17:05:17 +00:00
improved scripts compression
This commit is contained in:
parent
a02fec0182
commit
940b6e6418
8 changed files with 26 additions and 22 deletions
|
|
@ -3,7 +3,7 @@
|
|||
"appcache" : false,
|
||||
"cache" : {"allowed" : false},
|
||||
"minification" : {
|
||||
"js" : true,
|
||||
"js" : false,
|
||||
"css" : true,
|
||||
"html" : true,
|
||||
"img" : true
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
var DOM, _gaq;
|
||||
(function(){
|
||||
"use strict";
|
||||
(function(DOM, _gaq){
|
||||
'use strict';
|
||||
|
||||
/* setting google analitics tracking code */
|
||||
_gaq = [['_setAccount', 'UA-33536569-2'], ['_trackPageview']];
|
||||
|
|
@ -20,4 +20,5 @@ var DOM, _gaq;
|
|||
};
|
||||
|
||||
DOM.jsload('http://google-analytics.com/ga.js');
|
||||
})();
|
||||
|
||||
})(DOM, _gaq);
|
||||
|
|
@ -12,13 +12,13 @@ var Util, DOM, $;
|
|||
{name: '', src: ' ',func: '', style: '', id: '', parent: '',
|
||||
async: false, inner: 'id{color:red, }, class:'', not_append: false}
|
||||
*/
|
||||
DOM.cssSet = function(pParams_o){
|
||||
DOM.cssSet = function(pParams_o){
|
||||
var lElement = '<style ';
|
||||
|
||||
if (pParams_o.id) lElement += 'id=' + pParams_o.id + ' ';
|
||||
if (pParams_o.style) lElement += 'style=' + pParams_o.style + ' ';
|
||||
if (pParams_o.className) lElement += 'class=' + pParams_o.className;
|
||||
if (pParams_o.inner)lElement += '>' + pParams_o.inner;
|
||||
if (pParams_o.id) lElement += 'id=' + pParams_o.id + ' ';
|
||||
if (pParams_o.style) lElement += 'style=' + pParams_o.style + ' ';
|
||||
if (pParams_o.className) lElement += 'class=' + pParams_o.className;
|
||||
if (pParams_o.inner)lElement += '>' + pParams_o.inner;
|
||||
|
||||
lElement +='</style>';
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
var CloudCommander, Util, DOM;
|
||||
(function(){
|
||||
(function(CloudCommander, Util, DOM){
|
||||
"use strict";
|
||||
|
||||
DOM.Images.hideLoad();
|
||||
|
|
@ -349,4 +349,5 @@ var CloudCommander, Util, DOM;
|
|||
/* клавиши назначены*/
|
||||
keyBinded = true;
|
||||
};
|
||||
})();
|
||||
|
||||
})(CloudCommander, Util, DOM);
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
/* object contains jQuery-contextMenu
|
||||
* https://github.com/medialize/jQuery-contextMenu
|
||||
*/
|
||||
//var CloudCommander, Util, DOM, $;
|
||||
(function(CloudCommander, Util, DOM, $){
|
||||
var CloudCommander, Util, DOM, $;
|
||||
(function(CloudCommander, Util, DOM){
|
||||
"use strict";
|
||||
|
||||
var cloudcmd = CloudCommander,
|
||||
|
|
@ -288,4 +288,4 @@
|
|||
};
|
||||
|
||||
cloudcmd.Menu = Menu;
|
||||
})(CloudCommander, Util, DOM, $);
|
||||
})(CloudCommander, Util, DOM);
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
/* module make possible connectoin thrue socket.io on a client */
|
||||
var CloudCommander, DOM, Util, io;
|
||||
(function(){
|
||||
(function(CloudCommander, DOM, Util){
|
||||
"use strict";
|
||||
|
||||
var cloudcmd = CloudCommander,
|
||||
|
|
@ -105,4 +105,4 @@ var CloudCommander, DOM, Util, io;
|
|||
return lResult;
|
||||
}
|
||||
|
||||
})();
|
||||
})(CloudCommander, DOM, Util);
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
var CloudCommander, Util, DOM, $;
|
||||
/* object contains terminal jqconsole */
|
||||
|
||||
(function(){
|
||||
"use strict";
|
||||
(function(CloudCommander, Util, DOM){
|
||||
'use strict';
|
||||
|
||||
var cloudcmd = CloudCommander,
|
||||
|
||||
|
|
@ -125,4 +125,5 @@ var CloudCommander, Util, DOM, $;
|
|||
};
|
||||
|
||||
cloudcmd.Terminal.JqueryTerminal = JqueryTerminal;
|
||||
})();
|
||||
|
||||
})(CloudCommander, Util, DOM);
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
var CloudCommander, Util, DOM, CloudFunc, $;
|
||||
var CloudCommander, Util, DOM, $;
|
||||
/* object contains viewer FancyBox
|
||||
* https://github.com/fancyapps/fancyBox
|
||||
*/
|
||||
(function(){
|
||||
(function(CloudCommander, Util, DOM){
|
||||
"use strict";
|
||||
|
||||
var cloudcmd = CloudCommander,
|
||||
|
|
@ -122,4 +122,5 @@ var CloudCommander, Util, DOM, CloudFunc, $;
|
|||
};
|
||||
|
||||
cloudcmd.Viewer.FancyBox = FancyBox;
|
||||
})();
|
||||
|
||||
})(CloudCommander, Util, DOM);
|
||||
Loading…
Add table
Add a link
Reference in a new issue