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

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: Eliminate top level libraries from loader 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
OLDNEW
1 dart.library('dart/core', null, /* Imports */[ 1 loader.library('dart/core', null, /* Imports */[
2 "dart/dart_runtime",
3 "dart/dartx"
2 ], /* Lazy imports */[ 4 ], /* Lazy imports */[
3 'dart/_js_helper', 5 'dart/_js_helper',
4 'dart/_internal', 6 'dart/_internal',
5 'dart/collection', 7 'dart/collection',
6 'dart/_interceptors', 8 'dart/_interceptors',
7 'dart/convert' 9 'dart/convert'
8 ], function(exports, _js_helper, _internal, collection, _interceptors, convert) { 10 ], function(exports, dart, dartx, _js_helper, _internal, collection, _intercepto rs, convert) {
9 'use strict'; 11 'use strict';
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 }
(...skipping 3345 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

Powered by Google App Engine
This is Rietveld 408576698