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

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

Issue 1135543003: Fixes #178 (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Reformat Created 5 years, 7 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 | « no previous file | lib/runtime/dart/async.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 var _internal = dart.defineLibrary(_internal, {}); 1 var _internal = dart.defineLibrary(_internal, {});
2 var core = dart.import(core); 2 var core = dart.import(core);
3 var collection = dart.import(collection); 3 var collection = dart.import(collection);
4 var math = dart.lazyImport(math); 4 var math = dart.lazyImport(math);
5 var _interceptors = dart.lazyImport(_interceptors); 5 var _interceptors = dart.lazyImport(_interceptors);
6 var _js_primitives = dart.lazyImport(_js_primitives); 6 var _js_primitives = dart.lazyImport(_js_primitives);
7 (function(exports, core, collection, math, _interceptors, _js_primitives) { 7 (function(exports, core, collection, math, _interceptors, _js_primitives) {
8 'use strict'; 8 'use strict';
9 class EfficientLength extends core.Object {} 9 class EfficientLength extends core.Object {}
10 let ListIterable$ = dart.generic(function(E) { 10 let ListIterable$ = dart.generic(function(E) {
(...skipping 826 matching lines...) Expand 10 before | Expand all | Expand 10 after
837 if (separator === void 0) 837 if (separator === void 0)
838 separator = ""; 838 separator = "";
839 return ""; 839 return "";
840 } 840 }
841 [core.$where](test) { 841 [core.$where](test) {
842 dart.as(test, dart.functionType(core.bool, [E])); 842 dart.as(test, dart.functionType(core.bool, [E]));
843 return this; 843 return this;
844 } 844 }
845 [core.$map](f) { 845 [core.$map](f) {
846 dart.as(f, dart.functionType(dart.dynamic, [E])); 846 dart.as(f, dart.functionType(dart.dynamic, [E]));
847 return dart.const(new EmptyIterable()); 847 return dart.const(new (EmptyIterable$())());
848 } 848 }
849 [core.$reduce](combine) { 849 [core.$reduce](combine) {
850 dart.as(combine, dart.functionType(E, [E, E])); 850 dart.as(combine, dart.functionType(E, [E, E]));
851 throw IterableElementError.noElement(); 851 throw IterableElementError.noElement();
852 } 852 }
853 [core.$fold](initialValue, combine) { 853 [core.$fold](initialValue, combine) {
854 dart.as(combine, dart.functionType(dart.dynamic, [dart.dynamic, E])); 854 dart.as(combine, dart.functionType(dart.dynamic, [dart.dynamic, E]));
855 return initialValue; 855 return initialValue;
856 } 856 }
857 [core.$skip](count) { 857 [core.$skip](count) {
(...skipping 1181 matching lines...) Expand 10 before | Expand all | Expand 10 after
2039 exports.ReversedListIterable = ReversedListIterable; 2039 exports.ReversedListIterable = ReversedListIterable;
2040 exports.UnmodifiableListError = UnmodifiableListError; 2040 exports.UnmodifiableListError = UnmodifiableListError;
2041 exports.NonGrowableListError = NonGrowableListError; 2041 exports.NonGrowableListError = NonGrowableListError;
2042 exports.makeListFixedLength = makeListFixedLength; 2042 exports.makeListFixedLength = makeListFixedLength;
2043 exports.Lists = Lists; 2043 exports.Lists = Lists;
2044 exports.printToConsole = printToConsole; 2044 exports.printToConsole = printToConsole;
2045 exports.Sort = Sort; 2045 exports.Sort = Sort;
2046 exports.Symbol = Symbol; 2046 exports.Symbol = Symbol;
2047 exports.POWERS_OF_TEN = POWERS_OF_TEN; 2047 exports.POWERS_OF_TEN = POWERS_OF_TEN;
2048 })(_internal, core, collection, math, _interceptors, _js_primitives); 2048 })(_internal, core, collection, math, _interceptors, _js_primitives);
OLDNEW
« no previous file with comments | « no previous file | lib/runtime/dart/async.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698