From 83a138f38c51a91c8a16a24b6f07caa7d151df19 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Fri, 14 Jun 2019 14:10:13 +0300 Subject: [PATCH] chore(cloudcmd) lint: sequence expressions --- client/dom/index.js | 8 ++++---- client/dom/storage.js | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/client/dom/index.js b/client/dom/index.js index 2207c666..ab54010a 100644 --- a/client/dom/index.js +++ b/client/dom/index.js @@ -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; diff --git a/client/dom/storage.js b/client/dom/storage.js index 21f4e394..c1a5fbd4 100644 --- a/client/dom/storage.js +++ b/client/dom/storage.js @@ -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) => {