refactor(client) LIBDIRCLIENT -> DIRCLIENT

This commit is contained in:
coderaiser 2017-02-10 10:52:38 +02:00
parent 3524485249
commit 8944d1522e
2 changed files with 4 additions and 4 deletions

View file

@ -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(':');

View file

@ -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'
])
];