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

Unified Diff: lib/runtime/dart/_debugger.js

Issue 1706973002: Use dart.global instead of window in debugger.dart (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 10 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
« no previous file with comments | « no previous file | tool/input_sdk/private/debugger.dart » ('j') | tool/input_sdk/private/debugger.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/_debugger.js
diff --git a/lib/runtime/dart/_debugger.js b/lib/runtime/dart/_debugger.js
index 481253aa67fbf3cf4cbb435b92cd129d056bb06b..3414b2d7371b41582e7ad95711ff82523d453946 100644
--- a/lib/runtime/dart/_debugger.js
+++ b/lib/runtime/dart/_debugger.js
@@ -532,7 +532,7 @@ dart_library.library('dart/_debugger', null, /* Imports */[
});
function registerDevtoolsFormatter() {
let formatters = [exports._devtoolsFormatter];
- window.devtoolsFormatters = formatters;
+ dart.global.devtoolsFormatters = formatters;
}
dart.fn(registerDevtoolsFormatter);
// Exports:
« no previous file with comments | « no previous file | tool/input_sdk/private/debugger.dart » ('j') | tool/input_sdk/private/debugger.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698