mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
11 lines
361 B
JavaScript
11 lines
361 B
JavaScript
|
"use strict";
|
||
|
|
||
|
var dom = require('jsdom/lib/jsdom/level2/html').dom.level2.html;
|
||
|
var browser = require('jsdom/lib/jsdom/browser/index').windowAugmentation(dom);
|
||
|
|
||
|
global.document = browser.document;
|
||
|
global.window = browser.window;
|
||
|
global.self = browser.self;
|
||
|
global.navigator = browser.navigator;
|
||
|
global.location = browser.location;
|