2020-03-01 12:28:16 +00:00
|
|
|
/// <reference types="@ms/nashorn" />
|
|
|
|
|
2020-02-26 17:58:23 +00:00
|
|
|
import i18n from '@ms/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');
|
|
|
|
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 });
|