Skip to content
This repository was archived by the owner on Jul 13, 2020. It is now read-only.

Commit 77d0fad

Browse files
committed
adjust worker global detection
1 parent d76ec80 commit 77d0fad

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/polyfill-wrapper-end.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,5 @@ function __eval(__source, __global, load) {
2626
System.register = __curRegister;
2727
}
2828

29-
})(typeof window != 'undefined' ? window : (typeof global != 'undefined' ? global : this));
29+
})(typeof window != 'undefined' ? window : (typeof WorkerGlobalScope != 'undefined' ?
30+
self : global));

0 commit comments

Comments
 (0)