diff --git a/dev/App/Abstract.js b/dev/App/Abstract.js index bb59ece4b..bc63a3242 100644 --- a/dev/App/Abstract.js +++ b/dev/App/Abstract.js @@ -1,4 +1,3 @@ - import window from 'window'; import $ from '$'; import _ from '_'; @@ -7,19 +6,31 @@ import key from 'key'; import ssm from 'ssm'; import { - $win, $html, $doc, - startMicrotime, leftPanelDisabled, leftPanelType, - sUserAgent, bMobileDevice, bAnimationSupported + $win, + $html, + $doc, + startMicrotime, + leftPanelDisabled, + leftPanelType, + sUserAgent, + bMobileDevice, + bAnimationSupported } from 'Common/Globals'; import { - noop, isNormal, pString, inArray, microtime, timestamp, - detectDropdownVisibility, windowResizeCallback + noop, + isNormal, + pString, + inArray, + microtime, + timestamp, + detectDropdownVisibility, + windowResizeCallback } from 'Common/Utils'; -import {KeyState, Magics} from 'Common/Enums'; -import {root, rootAdmin, rootUser, populateAuthSuffix} from 'Common/Links'; -import {initOnStartOrLangChange, initNotificationLanguage} from 'Common/Translator'; +import { KeyState, Magics } from 'Common/Enums'; +import { root, rootAdmin, rootUser, populateAuthSuffix } from 'Common/Links'; +import { initOnStartOrLangChange, initNotificationLanguage } from 'Common/Translator'; import * as Events from 'Common/Events'; import * as Settings from 'Storage/Settings'; @@ -27,16 +38,14 @@ import LanguageStore from 'Stores/Language'; import ThemeStore from 'Stores/Theme'; import SocialStore from 'Stores/Social'; -import {routeOff, setHash} from 'Knoin/Knoin'; -import {AbstractBoot} from 'Knoin/AbstractBoot'; +import { routeOff, setHash } from 'Knoin/Knoin'; +import { AbstractBoot } from 'Knoin/AbstractBoot'; -class AbstractApp extends AbstractBoot -{ +class AbstractApp extends AbstractBoot { /** * @param {RemoteStorage|AdminRemoteStorage} Remote */ - constructor(Remote) - { + constructor(Remote) { super(); this.googlePreviewSupportedCache = null; @@ -47,14 +56,15 @@ class AbstractApp extends AbstractBoot this.iframe = $('