refactor(cloudcmd) PREFIX -> prefix

This commit is contained in:
coderaiser 2018-10-29 18:44:10 +02:00
parent 6e65ad615b
commit 5e9db8eb3c
19 changed files with 53 additions and 50 deletions

View file

@ -103,10 +103,10 @@ module.exports.hide = () => {
};
const loadFiles = async (element) => {
const socketPath = CloudCmd.PREFIX;
const {prefix} = CloudCmd;
const socketPath = prefix;
const {prefixSocket} = CloudCmd;
const prefix = socketPath + '/' + EditorName;
const url = prefix + '/' + EditorName + '.js';
const url = `${prefix}/${EditorName}/${EditorName}.js`;
time(Name + ' load');