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

Side by Side Diff: lib/runtime/dart/async.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/_native_typed_data.js ('k') | lib/runtime/dart/collection.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/async', null, /* Imports */[ 1 dart_library.library('dart/async', null, /* Imports */[
2 "dart_runtime/dart",
2 'dart/core', 3 'dart/core',
3 'dart/_internal', 4 'dart/_internal',
4 'dart/collection' 5 'dart/collection'
5 ], /* Lazy imports */[ 6 ], /* Lazy imports */[
6 'dart/_isolate_helper', 7 'dart/_isolate_helper',
7 'dart/_js_helper' 8 'dart/_js_helper'
8 ], function(exports, core, _internal, collection, _isolate_helper, _js_helper) { 9 ], function(exports, dart, core, _internal, collection, _isolate_helper, _js_hel per) {
9 'use strict'; 10 'use strict';
11 let dartx = dart.dartx;
10 function _invokeErrorHandler(errorHandler, error, stackTrace) { 12 function _invokeErrorHandler(errorHandler, error, stackTrace) {
11 if (dart.is(errorHandler, ZoneBinaryCallback)) { 13 if (dart.is(errorHandler, ZoneBinaryCallback)) {
12 return dart.dcall(errorHandler, error, stackTrace); 14 return dart.dcall(errorHandler, error, stackTrace);
13 } else { 15 } else {
14 return dart.dcall(errorHandler, error); 16 return dart.dcall(errorHandler, error);
15 } 17 }
16 } 18 }
17 dart.fn(_invokeErrorHandler, core.Object, [core.Function, core.Object, core.St ackTrace]); 19 dart.fn(_invokeErrorHandler, core.Object, [core.Function, core.Object, core.St ackTrace]);
18 function _registerErrorHandler(errorHandler, zone) { 20 function _registerErrorHandler(errorHandler, zone) {
19 if (dart.is(errorHandler, ZoneBinaryCallback)) { 21 if (dart.is(errorHandler, ZoneBinaryCallback)) {
(...skipping 5882 matching lines...) Expand 10 before | Expand all | Expand 10 after
5902 exports.ScheduleMicrotaskHandler = ScheduleMicrotaskHandler; 5904 exports.ScheduleMicrotaskHandler = ScheduleMicrotaskHandler;
5903 exports.CreateTimerHandler = CreateTimerHandler; 5905 exports.CreateTimerHandler = CreateTimerHandler;
5904 exports.CreatePeriodicTimerHandler = CreatePeriodicTimerHandler; 5906 exports.CreatePeriodicTimerHandler = CreatePeriodicTimerHandler;
5905 exports.PrintHandler = PrintHandler; 5907 exports.PrintHandler = PrintHandler;
5906 exports.ForkHandler = ForkHandler; 5908 exports.ForkHandler = ForkHandler;
5907 exports.ZoneSpecification = ZoneSpecification; 5909 exports.ZoneSpecification = ZoneSpecification;
5908 exports.ZoneDelegate = ZoneDelegate; 5910 exports.ZoneDelegate = ZoneDelegate;
5909 exports.Zone = Zone; 5911 exports.Zone = Zone;
5910 exports.runZoned = runZoned; 5912 exports.runZoned = runZoned;
5911 }); 5913 });
OLDNEW
« no previous file with comments | « lib/runtime/dart/_native_typed_data.js ('k') | lib/runtime/dart/collection.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698