Skip to content

Commit 2b384a8

Browse files
authored
Pick up setUpGlobals.js change from facebook@bccc92d#diff-3d750d038ea035cc40dd893c3a39e315 (#83)
1 parent 197c4fc commit 2b384a8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Libraries/Core/setUpGlobals.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ if (global.window === undefined) {
2121
global.window = global;
2222
}
2323

24+
if (global.self === undefined) {
25+
global.self = global;
26+
}
27+
2428
// Set up process
2529
global.process = global.process || {};
2630
global.process.env = global.process.env || {};

0 commit comments

Comments
 (0)