mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
chore(cloudcmd) lint: sequence expressions
This commit is contained in:
parent
bed4f1ae13
commit
83a138f38c
2 changed files with 6 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue