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

Side by Side Diff: tool/input_sdk/private/debugger.dart

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 unified diff | Download patch
« no previous file with comments | « lib/runtime/dart/_debugger.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library dart._debugger; 5 library dart._debugger;
6 6
7 import 'dart:_foreign_helper' show JS; 7 import 'dart:_foreign_helper' show JS;
8 import 'dart:_runtime' as dart; 8 import 'dart:_runtime' as dart;
9 import 'dart:core'; 9 import 'dart:core';
10 10
(...skipping 518 matching lines...) Expand 10 before | Expand all | Expand 10 after
529 ret.add(new NameValuePair(value: new ClassMetadata(type))); 529 ret.add(new NameValuePair(value: new ClassMetadata(type)));
530 } 530 }
531 return ret; 531 return ret;
532 } 532 }
533 } 533 }
534 534
535 /// This entry point is automatically invoked by the code generated by 535 /// This entry point is automatically invoked by the code generated by
536 /// Dart Dev Compiler 536 /// Dart Dev Compiler
537 registerDevtoolsFormatter() { 537 registerDevtoolsFormatter() {
538 var formatters = [_devtoolsFormatter]; 538 var formatters = [_devtoolsFormatter];
539 JS('', 'window.devtoolsFormatters = #', formatters); 539 JS('', 'dart.global.devtoolsFormatters = #', formatters);
Jacob 2016/02/22 17:17:56 This need to be exposed on the window object not t
540 } 540 }
OLDNEW
« no previous file with comments | « lib/runtime/dart/_debugger.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698