mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
refactor(client) add CloudFunc
This commit is contained in:
parent
e8844b10d2
commit
e549d762ef
1 changed files with 5 additions and 7 deletions
|
|
@ -2,17 +2,15 @@
|
|||
* @CloudFunc - обьект содержащий общий функционал
|
||||
* клиентский и серверный
|
||||
*/
|
||||
var Util, DOM, CloudFunc, CloudCmd;
|
||||
|
||||
(function(scope, Util, DOM) {
|
||||
(function(scope, Util, DOM, CloudFunc) {
|
||||
'use strict';
|
||||
|
||||
scope.CloudCmd = new CloudCmdProto(Util, DOM);
|
||||
scope.CloudCmd = new CloudCmdProto(Util, DOM, CloudFunc);
|
||||
|
||||
function CloudCmdProto(Util, DOM) {
|
||||
function CloudCmdProto(Util, DOM, CloudFunc) {
|
||||
var Key, Config, Modules, Extensions,
|
||||
FileTemplate, PathTemplate, LinkTemplate, Listeners,
|
||||
CloudCmd = this;
|
||||
CloudCmd = this,
|
||||
Storage = DOM.Storage;
|
||||
|
||||
this.LIBDIR = '/lib/';
|
||||
|
|
@ -489,4 +487,4 @@ var Util, DOM, CloudFunc, CloudCmd;
|
|||
return Util.stringifyJSON(lFileTable);
|
||||
}
|
||||
}
|
||||
})(this, Util, DOM);
|
||||
})(this, Util, DOM, CloudFunc);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue