diff --git a/client/dom/index.js b/client/dom/index.js index cbf8d6a0..1eea6576 100644 --- a/client/dom/index.js +++ b/client/dom/index.js @@ -628,7 +628,9 @@ function CmdProto() { * @param options = {active: true} */ this.getPanel = (options) => { - let files, panel, isLeft; + let files; + let panel; + let isLeft; let dataName = 'js-'; const current = DOM.getCurrentFile(); @@ -656,7 +658,7 @@ function CmdProto() { if (!panel) throw Error('can not find Active Panel!'); - + return panel; }; diff --git a/client/dom/load-remote.js b/client/dom/load-remote.js index 775d2148..ab1219e7 100644 --- a/client/dom/load-remote.js +++ b/client/dom/load-remote.js @@ -27,7 +27,8 @@ module.exports = (name, options, callback = options) => { const isArray = itype.array(module.local); const version = module.version; - let remoteTmpls, local; + let remoteTmpls; + let local; if (isArray) { remoteTmpls = module.remote; local = module.local; diff --git a/client/dom/storage.js b/client/dom/storage.js index 495c654e..21f4e394 100644 --- a/client/dom/storage.js +++ b/client/dom/storage.js @@ -33,7 +33,8 @@ module.exports.removeMatch = (string, callback) => { * записываем данные в него */ module.exports.set = (name, data, callback) => { - let str, error; + let str; + let error; if (itype.object(data)) str = jonny.stringify(data); diff --git a/client/key/index.js b/client/key/index.js index a568ef18..3e145f29 100644 --- a/client/key/index.js +++ b/client/key/index.js @@ -114,7 +114,10 @@ function KeyProto() { } function switchKey(event) { - let i, isSelected, prev, next; + let i; + let isSelected; + let prev; + let next; let current = Info.element; let dataName; diff --git a/client/modules/menu.js b/client/modules/menu.js index a4a42d80..60c71d32 100644 --- a/client/modules/menu.js +++ b/client/modules/menu.js @@ -84,7 +84,8 @@ function getMenuNameByEl(el) { } function getOptions(notFile) { - let name, func; + let name; + let func; if (notFile) { name = 'context'; diff --git a/client/modules/operation/index.js b/client/modules/operation/index.js index 63528901..2d8b1767 100644 --- a/client/modules/operation/index.js +++ b/client/modules/operation/index.js @@ -285,7 +285,8 @@ function deleteSilent(files = DOM.getActiveFiles()) { * @param operation */ function _processFiles(options, data) { - let selFiles, files; + let selFiles; + let files; let panel; let shouldAsk; let sameName; diff --git a/client/modules/view.js b/client/modules/view.js index f3df2b2e..278ce589 100644 --- a/client/modules/view.js +++ b/client/modules/view.js @@ -43,7 +43,9 @@ const Info = DOM.CurrentInfo; const Key = CloudCmd.Key; const basename = (a) => a.split('/').pop(); -let El, TemplateAudio, Overlay; +let El; +let TemplateAudio; +let Overlay; const Config = { beforeShow: (callback) => {