mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
refactor(client) LIBDIRCLIENT -> DIRCLIENT
This commit is contained in:
parent
3524485249
commit
8944d1522e
2 changed files with 4 additions and 4 deletions
|
|
@ -27,7 +27,7 @@ var Util, DOM, CloudFunc, join;
|
|||
this.log = log;
|
||||
this.PREFIX = '';
|
||||
this.PREFIX_URL = '';
|
||||
this.LIBDIRCLIENT = '/client/';
|
||||
this.DIRCLIENT = '/client/';
|
||||
this.MIN_ONE_PANEL_WIDTH = 1155;
|
||||
this.HOST = location.origin ||
|
||||
location.protocol + '//' + location.host;
|
||||
|
|
@ -123,7 +123,7 @@ var Util, DOM, CloudFunc, join;
|
|||
if (!CloudCmd[name]) {
|
||||
CloudCmd[name] = function() {
|
||||
var prefix = CloudCmd.PREFIX,
|
||||
pathFull = prefix + CloudCmd.LIBDIRCLIENT + path,
|
||||
pathFull = prefix + CloudCmd.DIRCLIENT + path,
|
||||
args = arguments;
|
||||
|
||||
Util.exec(doBefore);
|
||||
|
|
@ -176,7 +176,7 @@ var Util, DOM, CloudFunc, join;
|
|||
|
||||
var funcBefore = function(callback) {
|
||||
var src = prefix + '/join:' + [
|
||||
CloudCmd.LIBDIRCLIENT + 'polyfill.js',
|
||||
CloudCmd.DIRCLIENT + 'polyfill.js',
|
||||
'/modules/domtokenlist-shim/dist/domtokenlist.min.js',
|
||||
].join(':');
|
||||
|
||||
|
|
|
|||
|
|
@ -116,7 +116,7 @@ var CloudCmd, Util, DOM, io;
|
|||
exec.with(Files.get, 'config-tmpl'),
|
||||
exec.with(DOM.load.parallel, [
|
||||
prefix + '/css/config.css',
|
||||
prefix + CloudCmd.LIBDIRCLIENT + 'input.js'
|
||||
prefix + CloudCmd.DIRCLIENT + 'input.js'
|
||||
])
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue