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._runtime; | 5 library dart._runtime; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 import 'dart:collection'; | 8 import 'dart:collection'; |
9 | 9 |
| 10 import 'dart:_debugger' show stackTraceMapper; |
10 import 'dart:_foreign_helper' show JS, JSExportName, rest, spread; | 11 import 'dart:_foreign_helper' show JS, JSExportName, rest, spread; |
11 import 'dart:_interceptors' show JSArray; | 12 import 'dart:_interceptors' show JSArray; |
12 import 'dart:_js_helper' | 13 import 'dart:_js_helper' |
13 show | 14 show |
14 AssertionErrorWithMessage, | 15 AssertionErrorWithMessage, |
15 BooleanConversionAssertionError, | 16 BooleanConversionAssertionError, |
16 CastErrorImplementation, | 17 CastErrorImplementation, |
17 getTraceFromException, | 18 getTraceFromException, |
18 Primitives, | 19 Primitives, |
19 TypeErrorImplementation, | 20 TypeErrorImplementation, |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 } | 89 } |
89 } | 90 } |
90 var globalState = (typeof window != "undefined") ? window | 91 var globalState = (typeof window != "undefined") ? window |
91 : (typeof global != "undefined") ? global | 92 : (typeof global != "undefined") ? global |
92 : (typeof self != "undefined") ? self : {}; | 93 : (typeof self != "undefined") ? self : {}; |
93 return globalState; | 94 return globalState; |
94 }() | 95 }() |
95 '''); | 96 '''); |
96 | 97 |
97 final JsSymbol = JS('', 'Symbol'); | 98 final JsSymbol = JS('', 'Symbol'); |
OLD | NEW |