mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 12:39:20 +03:00
Code refactoring
This commit is contained in:
parent
60bac7192f
commit
90d95d3ca4
28 changed files with 977 additions and 924 deletions
|
|
@ -9,10 +9,10 @@ import {
|
|||
|
||||
import {KeyState} from 'Common/Enums';
|
||||
import {noop, isNormal, pString, inArray, microtime, timestamp, detectDropdownVisibility, windowResizeCallback} from 'Common/Utils';
|
||||
import Links from 'Common/Links';
|
||||
import Events from 'Common/Events';
|
||||
import * as Links from 'Common/Links';
|
||||
import * as Settings from 'Storage/Settings';
|
||||
import * as Events from 'Common/Events';
|
||||
import Translator from 'Common/Translator';
|
||||
import Settings from 'Storage/Settings';
|
||||
|
||||
import {AbstractBoot} from 'Knoin/AbstractBoot';
|
||||
|
||||
|
|
|
|||
|
|
@ -3,12 +3,12 @@ import {window, _} from 'common';
|
|||
import ko from 'ko';
|
||||
import progressJs from 'progressJs';
|
||||
|
||||
import Links from 'Common/Links';
|
||||
import * as Links from 'Common/Links';
|
||||
import Translator from 'Common/Translator';
|
||||
import {StorageResultType, Notification} from 'Common/Enums';
|
||||
import {pInt, isNormal, isArray, inArray, isUnd} from 'Common/Utils';
|
||||
|
||||
import Settings from 'Storage/Settings';
|
||||
import * as Settings from 'Storage/Settings';
|
||||
|
||||
import AppStore from 'Stores/Admin/App';
|
||||
import DomainStore from 'Stores/Admin/Domain';
|
||||
|
|
|
|||
|
|
@ -20,11 +20,11 @@ import {
|
|||
} from 'Common/Globals';
|
||||
|
||||
import {UNUSED_OPTION_VALUE} from 'Common/Consts';
|
||||
import Plugins from 'Common/Plugins';
|
||||
import Links from 'Common/Links';
|
||||
import Events from 'Common/Events';
|
||||
import * as Plugins from 'Common/Plugins';
|
||||
import * as Links from 'Common/Links';
|
||||
import * as Events from 'Common/Events';
|
||||
import * as Momentor from 'Common/Momentor';
|
||||
import Translator from 'Common/Translator';
|
||||
import Momentor from 'Common/Momentor';
|
||||
import Cache from 'Common/Cache';
|
||||
|
||||
import SocialStore from 'Stores/Social';
|
||||
|
|
@ -38,7 +38,7 @@ import MessageStore from 'Stores/User/Message';
|
|||
import ContactStore from 'Stores/User/Contact';
|
||||
|
||||
import Local from 'Storage/Client';
|
||||
import Settings from 'Storage/Settings';
|
||||
import * as Settings from 'Storage/Settings';
|
||||
import RainLoopStorage from 'Storage/RainLoop';
|
||||
|
||||
import Remote from 'Remote/User/Ajax';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue