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

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

Issue 1122133003: fixes #157, renaming local library identifiers if needed. (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: new approach 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
OLDNEW
1 var async; 1 var async = dart.defineLibrary(async, {});
2 (function(exports) { 2 var core = dart.lazyImport(core);
3 var _internal = dart.lazyImport(_internal);
4 var _js_helper = dart.import(_js_helper);
5 var _isolate_helper = dart.import(_isolate_helper);
6 var collection = dart.lazyImport(collection);
7 (function(exports, core, _internal, _js_helper, _isolate_helper, collection) {
3 'use strict'; 8 'use strict';
4 // Function _invokeErrorHandler: (Function, Object, StackTrace) → dynamic 9 // Function _invokeErrorHandler: (Function, Object, StackTrace) → dynamic
5 function _invokeErrorHandler(errorHandler, error, stackTrace) { 10 function _invokeErrorHandler(errorHandler, error, stackTrace) {
6 if (dart.is(errorHandler, ZoneBinaryCallback)) { 11 if (dart.is(errorHandler, ZoneBinaryCallback)) {
7 return dart.dcall(errorHandler, error, stackTrace); 12 return dart.dcall(errorHandler, error, stackTrace);
8 } else { 13 } else {
9 return dart.dcall(errorHandler, error); 14 return dart.dcall(errorHandler, error);
10 } 15 }
11 } 16 }
12 // Function _registerErrorHandler: (Function, Zone) → Function 17 // Function _registerErrorHandler: (Function, Zone) → Function
(...skipping 5346 matching lines...) Expand 10 before | Expand all | Expand 10 after
5359 exports.ErrorCallbackHandler = ErrorCallbackHandler; 5364 exports.ErrorCallbackHandler = ErrorCallbackHandler;
5360 exports.ScheduleMicrotaskHandler = ScheduleMicrotaskHandler; 5365 exports.ScheduleMicrotaskHandler = ScheduleMicrotaskHandler;
5361 exports.CreateTimerHandler = CreateTimerHandler; 5366 exports.CreateTimerHandler = CreateTimerHandler;
5362 exports.CreatePeriodicTimerHandler = CreatePeriodicTimerHandler; 5367 exports.CreatePeriodicTimerHandler = CreatePeriodicTimerHandler;
5363 exports.PrintHandler = PrintHandler; 5368 exports.PrintHandler = PrintHandler;
5364 exports.ForkHandler = ForkHandler; 5369 exports.ForkHandler = ForkHandler;
5365 exports.ZoneSpecification = ZoneSpecification; 5370 exports.ZoneSpecification = ZoneSpecification;
5366 exports.ZoneDelegate = ZoneDelegate; 5371 exports.ZoneDelegate = ZoneDelegate;
5367 exports.Zone = Zone; 5372 exports.Zone = Zone;
5368 exports.runZoned = runZoned; 5373 exports.runZoned = runZoned;
5369 })(async || (async = {})); 5374 })(async, core, _internal, _js_helper, _isolate_helper, collection);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698