| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 // Patch file for dart:core classes. | 5 // Patch file for dart:core classes. |
| 6 import "dart:_internal" as _symbol_dev; | 6 import "dart:_internal" as _symbol_dev; |
| 7 import 'dart:_interceptors'; | 7 import 'dart:_interceptors'; |
| 8 import 'dart:_js_helper' show patch, | 8 import 'dart:_js_helper' show patch, |
| 9 checkNull, | 9 checkNull, |
| 10 getRuntimeType, | 10 getRuntimeType, |
| (...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 404 @patch | 404 @patch |
| 405 static bool get _isWindows => false; | 405 static bool get _isWindows => false; |
| 406 | 406 |
| 407 @patch | 407 @patch |
| 408 static Uri get base { | 408 static Uri get base { |
| 409 String uri = Primitives.currentUri(); | 409 String uri = Primitives.currentUri(); |
| 410 if (uri != null) return Uri.parse(uri); | 410 if (uri != null) return Uri.parse(uri); |
| 411 throw new UnsupportedError("'Uri.base' is not supported"); | 411 throw new UnsupportedError("'Uri.base' is not supported"); |
| 412 } | 412 } |
| 413 } | 413 } |
| OLD | NEW |