OLD | NEW |
---|---|
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 Loading... | |
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 } |
OLD | NEW |