chore: lint

This commit is contained in:
coderaiser 2023-08-07 17:40:25 +03:00
parent 13279299c4
commit 24dcf78be8
16 changed files with 25 additions and 26 deletions

View file

@ -1,6 +1,5 @@
'use strict';
const isString = (a) => typeof a === 'string';
/* global CloudCmd */
const Util = require('../../common/util');
@ -38,8 +37,9 @@ DOM.Events = require('./events');
const loadRemote = require('./load-remote');
const selectByPattern = require('./select-by-pattern');
const isString = (a) => typeof a === 'string';
const SELECTED_FILE = 'selected-file';
const TabPanel = {
'js-left': null,
'js-right': null,

View file

@ -2,7 +2,6 @@
'use strict';
const isFn = (a) => typeof a === 'function';
const montag = require('montag');
const {promisify} = require('es6-promisify');
@ -12,6 +11,7 @@ const load = require('load.js');
const {MAX_FILE_SIZE: maxSize} = require('../../common/cloudfunc');
const {time, timeEnd} = require('../../common/util');
const isFn = (a) => typeof a === 'function';
const loadJS = load.js;
const Name = 'Edit';

View file

@ -2,7 +2,6 @@
'use strict';
const isString = (a) => typeof a === 'string';
require('../../../css/view.css');
const rendy = require('rendy');
@ -28,7 +27,7 @@ const Events = require('../../dom/events');
const Images = require('../../dom/images');
const {encode} = require('../../../common/entity');
const isString = (a) => typeof a === 'string';
const {assign} = Object;
const {isArray} = Array;