chore(cloudcmd) lint: sequence expressions

This commit is contained in:
coderaiser 2019-06-14 14:10:13 +03:00
parent bed4f1ae13
commit 83a138f38c
2 changed files with 6 additions and 6 deletions

View file

@ -628,8 +628,8 @@ function CmdProto() {
if (!current) {
panel = DOM.getByDataName('js-left');
} else {
files = current.parentElement,
panel = files.parentElement,
files = current.parentElement;
panel = files.parentElement;
isLeft = panel.getAttribute('data-name') === 'js-left';
}
@ -870,7 +870,7 @@ function CmdProto() {
CloudCmd.loadDir({
path,
});
},
};
this.duplicatePanel = () => {
const Info = CurrentInfo;
@ -930,7 +930,7 @@ function CmdProto() {
});
};
this.CurrentInfo = CurrentInfo,
this.CurrentInfo = CurrentInfo;
this.updateCurrentInfo = (currentFile) => {
const info = DOM.CurrentInfo;

View file

@ -45,7 +45,7 @@ module.exports.set = (name, data, callback) => {
exec(callback, error);
return module.exports;
},
};
/** Если доступен Storage принимаем из него данные*/
module.exports.get = (name, callback) => {
@ -54,7 +54,7 @@ module.exports.get = (name, callback) => {
exec(callback, null, ret);
return module.exports;
},
};
/** функция чистит весь кэш для всех каталогов*/
module.exports.clear = (callback) => {