2020-05-02 16:14:47 +00:00
|
|
|
/// <reference types="@ccms/nashorn" />
|
2020-03-01 12:28:16 +00:00
|
|
|
|
2020-05-02 16:14:47 +00:00
|
|
|
import i18n from '@ccms/i18n'
|
2020-01-31 18:44:23 +00:00
|
|
|
let ployfillStartTime = new Date().getTime();
|
2020-02-26 17:58:23 +00:00
|
|
|
i18n.initialize();
|
|
|
|
console.i18n("ms.ployfill.initialize");
|
2020-02-09 14:06:45 +00:00
|
|
|
require('./es5-ext');
|
|
|
|
require('core-js');
|
2020-05-11 14:13:03 +00:00
|
|
|
require('./node-shim');
|
2020-02-09 14:06:45 +00:00
|
|
|
global.setGlobal('Proxy', require('./proxy').Proxy)
|
|
|
|
global.setGlobal('XMLHttpRequest', require('./xml-http-request').XMLHttpRequest)
|
|
|
|
global.setGlobal('Blob', require('blob-polyfill').Blob)
|
2020-02-26 17:58:23 +00:00
|
|
|
console.i18n("ms.ployfill.completed", { time: (new Date().getTime() - ployfillStartTime) / 1000 });
|