mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
Code refactoring (5) (es5 -> es2015)
This commit is contained in:
parent
c148e19ea3
commit
cec53b111f
68 changed files with 2210 additions and 2472 deletions
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
import window from 'window';
|
||||
import $ from '$';
|
||||
import {kill_CtrlA_CtrlS, detectDropdownVisibility, createCommand} from 'Common/Utils';
|
||||
import {killCtrlACtrlS, detectDropdownVisibility, createCommand} from 'Common/Utils';
|
||||
import {$win, $html, data as GlobalsData, bMobileDevice} from 'Common/Globals';
|
||||
import * as Enums from 'Common/Enums';
|
||||
import * as Plugins from 'Common/Plugins';
|
||||
|
|
@ -13,7 +13,7 @@ export default (App) => {
|
|||
GlobalsData.__APP__ = App;
|
||||
|
||||
$win
|
||||
.on('keydown', kill_CtrlA_CtrlS)
|
||||
.on('keydown', killCtrlACtrlS)
|
||||
.on('unload', () => {
|
||||
GlobalsData.bUnload = true;
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue