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

Side by Side Diff: sdk/lib/_internal/compiler/js_lib/core_patch.dart

Issue 538513002: Move js library back into compiler directory. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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 | Annotate | Revision Log
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « sdk/lib/_internal/compiler/js_lib/convert_patch.dart ('k') | sdk/lib/_internal/compiler/js_lib/foreign_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698