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

Side by Side Diff: lib/runtime/dart/core.js

Issue 1182653002: Refactor runtime into libraries, better type reps (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Address comments 2 Created 5 years, 6 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/convert.js ('k') | lib/runtime/dart/isolate.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 dart.library('dart/core', null, /* Imports */[ 1 dart_library.library('dart/core', null, /* Imports */[
2 "dart_runtime/dart"
2 ], /* Lazy imports */[ 3 ], /* Lazy imports */[
3 'dart/_js_helper', 4 'dart/_js_helper',
4 'dart/_internal', 5 'dart/_internal',
5 'dart/collection', 6 'dart/collection',
6 'dart/_interceptors', 7 'dart/_interceptors',
7 'dart/convert' 8 'dart/convert'
8 ], function(exports, _js_helper, _internal, collection, _interceptors, convert) { 9 ], function(exports, dart, _js_helper, _internal, collection, _interceptors, con vert) {
9 'use strict'; 10 'use strict';
11 let dartx = dart.dartx;
10 class Object { 12 class Object {
11 constructor() { 13 constructor() {
12 let name = this.constructor.name; 14 let name = this.constructor.name;
13 let init = this[name]; 15 let init = this[name];
14 let result = void 0; 16 let result = void 0;
15 if (init) 17 if (init)
16 result = init.apply(this, arguments); 18 result = init.apply(this, arguments);
17 return result === void 0 ? this : result; 19 return result === void 0 ? this : result;
18 } 20 }
19 ['=='](other) { 21 ['=='](other) {
(...skipping 3344 matching lines...) Expand 10 before | Expand all | Expand 10 after
3364 exports.StackTrace = StackTrace; 3366 exports.StackTrace = StackTrace;
3365 exports.Stopwatch = Stopwatch; 3367 exports.Stopwatch = Stopwatch;
3366 exports.String = String; 3368 exports.String = String;
3367 exports.RuneIterator = RuneIterator; 3369 exports.RuneIterator = RuneIterator;
3368 exports.StringBuffer = StringBuffer; 3370 exports.StringBuffer = StringBuffer;
3369 exports.StringSink = StringSink; 3371 exports.StringSink = StringSink;
3370 exports.Symbol = Symbol; 3372 exports.Symbol = Symbol;
3371 exports.Type = Type; 3373 exports.Type = Type;
3372 exports.Uri = Uri; 3374 exports.Uri = Uri;
3373 }); 3375 });
OLDNEW
« no previous file with comments | « lib/runtime/dart/convert.js ('k') | lib/runtime/dart/isolate.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698