mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 20:49:20 +03:00
prettier --write
This commit is contained in:
parent
450528ff00
commit
8a0be3212d
164 changed files with 7053 additions and 9008 deletions
11
dev/boot.js
11
dev/boot.js
|
|
@ -5,28 +5,25 @@ require('json3');
|
|||
require('intersection-observer');
|
||||
|
||||
import window from 'window';
|
||||
import {progressJs} from '../vendors/Progress.js/src/progress.js';
|
||||
import { progressJs } from '../vendors/Progress.js/src/progress.js';
|
||||
|
||||
window.progressJs = window.progressJs || progressJs();
|
||||
|
||||
window.progressJs.onbeforeend(() => {
|
||||
const _$ = window.$;
|
||||
if (_$)
|
||||
{
|
||||
if (_$) {
|
||||
try {
|
||||
_$('.progressjs-container').hide();
|
||||
window.setTimeout(() => {
|
||||
_$('.progressjs-container').remove();
|
||||
}, 200); // eslint-disable-line no-magic-numbers
|
||||
}
|
||||
catch (e) {} // eslint-disable-line no-empty
|
||||
} catch (e) {} // eslint-disable-line no-empty
|
||||
}
|
||||
});
|
||||
|
||||
require('../vendors/modernizr/modernizr-custom.js');
|
||||
require('Common/Booter');
|
||||
|
||||
if (window.__runBoot)
|
||||
{
|
||||
if (window.__runBoot) {
|
||||
window.__runBoot();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue