| OLD | NEW |
| 1 dart_library.library('dart/async', null, /* Imports */[ | 1 dart_library.library('dart/async', null, /* Imports */[ |
| 2 'dart/_runtime', | 2 'dart/_runtime', |
| 3 'dart/core', | 3 'dart/core', |
| 4 'dart/_internal', | 4 'dart/_internal', |
| 5 'dart/collection' | 5 'dart/collection' |
| 6 ], /* Lazy imports */[ | 6 ], /* Lazy imports */[ |
| 7 'dart/_isolate_helper' | 7 'dart/_isolate_helper' |
| 8 ], function(exports, dart, core, _internal, collection, _isolate_helper) { | 8 ], function(exports, dart, core, _internal, collection, _isolate_helper) { |
| 9 'use strict'; | 9 'use strict'; |
| 10 let dartx = dart.dartx; | 10 let dartx = dart.dartx; |
| (...skipping 5214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5225 bindBinaryCallback(f, opts) { | 5225 bindBinaryCallback(f, opts) { |
| 5226 let runGuarded = opts && 'runGuarded' in opts ? opts.runGuarded : true; | 5226 let runGuarded = opts && 'runGuarded' in opts ? opts.runGuarded : true; |
| 5227 let registered = this.registerBinaryCallback(f); | 5227 let registered = this.registerBinaryCallback(f); |
| 5228 if (dart.notNull(runGuarded)) { | 5228 if (dart.notNull(runGuarded)) { |
| 5229 return dart.fn((arg1, arg2) => this.runBinaryGuarded(registered, arg1, a
rg2)); | 5229 return dart.fn((arg1, arg2) => this.runBinaryGuarded(registered, arg1, a
rg2)); |
| 5230 } else { | 5230 } else { |
| 5231 return dart.fn((arg1, arg2) => this.runBinary(registered, arg1, arg2)); | 5231 return dart.fn((arg1, arg2) => this.runBinary(registered, arg1, arg2)); |
| 5232 } | 5232 } |
| 5233 } | 5233 } |
| 5234 get(key) { | 5234 get(key) { |
| 5235 let result = this[_map].get(key); | 5235 let result = this[_map][dartx.get](key); |
| 5236 if (result != null || dart.notNull(this[_map].containsKey(key))) return re
sult; | 5236 if (result != null || dart.notNull(this[_map][dartx.containsKey](key))) re
turn result; |
| 5237 if (this.parent != null) { | 5237 if (this.parent != null) { |
| 5238 let value = this.parent.get(key); | 5238 let value = this.parent.get(key); |
| 5239 if (value != null) { | 5239 if (value != null) { |
| 5240 this[_map].set(key, value); | 5240 this[_map][dartx.set](key, value); |
| 5241 } | 5241 } |
| 5242 return value; | 5242 return value; |
| 5243 } | 5243 } |
| 5244 dart.assert(dart.equals(this, _ROOT_ZONE)); | 5244 dart.assert(dart.equals(this, _ROOT_ZONE)); |
| 5245 return null; | 5245 return null; |
| 5246 } | 5246 } |
| 5247 handleUncaughtError(error, stackTrace) { | 5247 handleUncaughtError(error, stackTrace) { |
| 5248 let implementation = this[_handleUncaughtError]; | 5248 let implementation = this[_handleUncaughtError]; |
| 5249 dart.assert(implementation != null); | 5249 dart.assert(implementation != null); |
| 5250 let parentDelegate = _parentDelegate(implementation.zone); | 5250 let parentDelegate = _parentDelegate(implementation.zone); |
| (...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5779 exports.ScheduleMicrotaskHandler = ScheduleMicrotaskHandler; | 5779 exports.ScheduleMicrotaskHandler = ScheduleMicrotaskHandler; |
| 5780 exports.CreateTimerHandler = CreateTimerHandler; | 5780 exports.CreateTimerHandler = CreateTimerHandler; |
| 5781 exports.CreatePeriodicTimerHandler = CreatePeriodicTimerHandler; | 5781 exports.CreatePeriodicTimerHandler = CreatePeriodicTimerHandler; |
| 5782 exports.PrintHandler = PrintHandler; | 5782 exports.PrintHandler = PrintHandler; |
| 5783 exports.ForkHandler = ForkHandler; | 5783 exports.ForkHandler = ForkHandler; |
| 5784 exports.ZoneSpecification = ZoneSpecification; | 5784 exports.ZoneSpecification = ZoneSpecification; |
| 5785 exports.ZoneDelegate = ZoneDelegate; | 5785 exports.ZoneDelegate = ZoneDelegate; |
| 5786 exports.Zone = Zone; | 5786 exports.Zone = Zone; |
| 5787 exports.runZoned = runZoned; | 5787 exports.runZoned = runZoned; |
| 5788 }); | 5788 }); |
| OLD | NEW |