Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Unified Diff: tool/input_sdk/private/runtime.dart

Issue 1633003002: Add --modules=node support (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: regen sdk and expectations Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tool/input_sdk/private/runtime.dart
diff --git a/tool/input_sdk/private/runtime.dart b/tool/input_sdk/private/runtime.dart
index 7035270b740c6616134d11222ad5b701b80d4810..061218b484e25c91429969d1305656ae41b87019 100644
--- a/tool/input_sdk/private/runtime.dart
+++ b/tool/input_sdk/private/runtime.dart
@@ -31,7 +31,8 @@ final as_ = JS('', '$cast');
@JSExportName('is')
final is_ = JS('', '$instanceOf');
-final global = JS('', 'typeof window == "undefined" ? global : window');
+@JSExportName('global')
+final global_ = JS('', 'typeof window == "undefined" ? global : window');
final JsSymbol = JS('', 'Symbol');
// TODO(vsm): This is referenced (as init.globalState) from

Powered by Google App Engine
This is Rietveld 408576698