Skip to content

Commit 04e9c60

Browse files
committed
fix undom/register
1 parent aa0ee66 commit 04e9c60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

register.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
if (typeof global!=='undefined' && !global.document) {
2-
global.window = require('.').defaultView;
2+
global.window = require('.')().defaultView;
33
for (var i in global.window) global[i] = global.window[i];
44
}

0 commit comments

Comments
 (0)