mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-11-14 11:44:54 +08:00
c443f54e01
Small fixes
31 lines
675 B
JavaScript
31 lines
675 B
JavaScript
|
|
import window from 'window';
|
|
|
|
import {Promise} from 'es6-promise-polyfill/promise.js';
|
|
import {jassl} from 'jassl';
|
|
import {progressJs} from '../vendors/progress.js/src/progress.js';
|
|
|
|
window.Promise = window.Promise || Promise;
|
|
window.progressJs = window.progressJs || progressJs();
|
|
window.jassl = jassl;
|
|
|
|
window.progressJs.onbeforeend(() => {
|
|
const _$ = window.$;
|
|
if (_$)
|
|
{
|
|
_$('.progressjs-container').hide();
|
|
window.setTimeout(() => {
|
|
_$('.progressjs-container').remove();
|
|
}, 200);
|
|
}
|
|
});
|
|
|
|
require('../vendors/json2/json2.js');
|
|
require('../vendors/modernizr/modernizr-custom.js');
|
|
|
|
require('Common/Booter.jsx');
|
|
|
|
if (window.__runBoot)
|
|
{
|
|
window.__runBoot();
|
|
}
|