We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa0ee66 commit 04e9c60Copy full SHA for 04e9c60
register.js
@@ -1,4 +1,4 @@
1
if (typeof global!=='undefined' && !global.document) {
2
- global.window = require('.').defaultView;
+ global.window = require('.')().defaultView;
3
for (var i in global.window) global[i] = global.window[i];
4
}
0 commit comments