2016-05-06 23:14:40 +08:00
|
|
|
|
|
|
|
import window from 'window';
|
2016-05-20 08:04:15 +08:00
|
|
|
import jsloader from 'Common/Loader';
|
|
|
|
import {progressJs} from 'progress.js/src/progress.js';
|
|
|
|
|
|
|
|
window.jsloader = jsloader;
|
|
|
|
window.progressJs = window.progressJs || progressJs();
|
|
|
|
|
|
|
|
window.progressJs.onbeforeend(() => {
|
|
|
|
if (window.$)
|
|
|
|
{
|
|
|
|
window.$('.progressjs-container').hide();
|
|
|
|
window.setTimeout(() => {
|
|
|
|
window.$('.progressjs-container').remove();
|
|
|
|
}, 100);
|
|
|
|
}
|
|
|
|
});
|
2016-05-06 23:14:40 +08:00
|
|
|
|
|
|
|
require('json2/json2.js');
|
|
|
|
require('modernizr/modernizr-custom.js');
|
|
|
|
|
2016-05-20 08:04:15 +08:00
|
|
|
require('Common/Booter.jsx');
|
2016-05-06 23:14:40 +08:00
|
|
|
|
2016-05-20 08:04:15 +08:00
|
|
|
if (window.__runBoot)
|
|
|
|
{
|
|
|
|
window.__runBoot();
|
|
|
|
}
|