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

Side by Side Diff: lib/runtime/dart/_internal.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/_internal', null, /* Imports */[ 1 loader.library('dart/_internal', null, /* Imports */[
2 "dart/dart_runtime",
3 "dart/dartx",
2 'dart/core', 4 'dart/core',
3 'dart/collection' 5 'dart/collection'
4 ], /* Lazy imports */[ 6 ], /* Lazy imports */[
5 'dart/math', 7 'dart/math',
6 'dart/_interceptors', 8 'dart/_interceptors',
7 'dart/_js_primitives' 9 'dart/_js_primitives'
8 ], function(exports, core, collection, math, _interceptors, _js_primitives) { 10 ], function(exports, dart, dartx, core, collection, math, _interceptors, _js_pri mitives) {
9 'use strict'; 11 'use strict';
10 class EfficientLength extends core.Object {} 12 class EfficientLength extends core.Object {}
11 let ListIterable$ = dart.generic(function(E) { 13 let ListIterable$ = dart.generic(function(E) {
12 class ListIterable extends collection.IterableBase$(E) { 14 class ListIterable extends collection.IterableBase$(E) {
13 ListIterable() { 15 ListIterable() {
14 super.IterableBase(); 16 super.IterableBase();
15 } 17 }
16 get iterator() { 18 get iterator() {
17 return new (ListIterator$(E))(this); 19 return new (ListIterator$(E))(this);
18 } 20 }
(...skipping 2417 matching lines...) Expand 10 before | Expand all | Expand 10 after
2436 exports.ReversedListIterable = ReversedListIterable; 2438 exports.ReversedListIterable = ReversedListIterable;
2437 exports.UnmodifiableListError = UnmodifiableListError; 2439 exports.UnmodifiableListError = UnmodifiableListError;
2438 exports.NonGrowableListError = NonGrowableListError; 2440 exports.NonGrowableListError = NonGrowableListError;
2439 exports.makeListFixedLength = makeListFixedLength; 2441 exports.makeListFixedLength = makeListFixedLength;
2440 exports.Lists = Lists; 2442 exports.Lists = Lists;
2441 exports.printToConsole = printToConsole; 2443 exports.printToConsole = printToConsole;
2442 exports.Sort = Sort; 2444 exports.Sort = Sort;
2443 exports.Symbol = Symbol; 2445 exports.Symbol = Symbol;
2444 exports.POWERS_OF_TEN = POWERS_OF_TEN; 2446 exports.POWERS_OF_TEN = POWERS_OF_TEN;
2445 }); 2447 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698