1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-26 10:08:06 +02:00

Remove global window and navigator usages from the core code.

This commit is contained in:
Yury Delendik 2016-04-06 10:38:48 -05:00
parent 1e3e14e6b2
commit 1e4886a15a
4 changed files with 9 additions and 13 deletions

View file

@ -120,10 +120,6 @@ DOMElement.prototype = {
},
}
global.window = global;
global.navigator = { userAgent: 'node' };
global.document = {
childNodes : [],