| Index: pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/runtime.dart
|
| diff --git a/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/runtime.dart b/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/runtime.dart
|
| index fb474012aadd30111dc8d51084aa5d281e653e44..eb3b1e00e52166115264f00587597d60e01aeafe 100644
|
| --- a/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/runtime.dart
|
| +++ b/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/runtime.dart
|
| @@ -82,7 +82,10 @@ final global_ = JS('', '''
|
| window.SourceBufferList = new MediaSource().sourceBuffers.constructor;
|
| }
|
| }
|
| - return typeof window == "undefined" ? global : window;
|
| + var globalState = (typeof window != "undefined") ? window
|
| + : (typeof global != "undefined") ? global
|
| + : (typeof self != "undefined") ? self : {};
|
| + return globalState;
|
| }()
|
| ''');
|
|
|
|
|