|
|
|
@ -61,6 +61,7 @@ global.navigator = window.navigator;
|
|
|
|
global.getComputedStyle = window.getComputedStyle;
|
|
|
|
global.getComputedStyle = window.getComputedStyle;
|
|
|
|
global.requestAnimationFrame = null; // placeholder, filled in using set_raf
|
|
|
|
global.requestAnimationFrame = null; // placeholder, filled in using set_raf
|
|
|
|
global.window = window;
|
|
|
|
global.window = window;
|
|
|
|
|
|
|
|
global.CustomEvent = window.CustomEvent;
|
|
|
|
|
|
|
|
|
|
|
|
// add missing ecmascript globals to window
|
|
|
|
// add missing ecmascript globals to window
|
|
|
|
for (const key of Object.getOwnPropertyNames(global)) {
|
|
|
|
for (const key of Object.getOwnPropertyNames(global)) {
|
|
|
|
|