We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc92e4a commit b70a309Copy full SHA for b70a309
packages/webchannel-wrapper/tools/build.js
@@ -26,7 +26,7 @@ closureBuilder.build({
26
options: {
27
closure: {
28
output_wrapper:
29
- "(function() {%output%}).call(typeof window !== 'undefined' ? window : this)",
+ "(function() {%output%}).call(typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : typeof window !== 'undefined' ? window : {})",
30
language_out: 'ECMASCRIPT5',
31
compilation_level: 'ADVANCED_OPTIMIZATIONS'
32
}
0 commit comments