Comparing version 0.8.2 to 0.8.3
@@ -0,1 +1,10 @@ | ||
<a name="0.8.3"></a> | ||
## [0.8.3](https://github.com/angular/zone.js/compare/v0.8.1...0.8.3) (2017-03-15) | ||
### Bug Fixes | ||
* **zone:** consistent access to __symbol__ to work with closure ([f742394](https://github.com/angular/zone.js/commit/f742394)) | ||
<a name="0.8.2"></a> | ||
@@ -2,0 +11,0 @@ ## [0.8.2](https://github.com/angular/zone.js/compare/v0.8.1...0.8.2) (2017-03-14) |
@@ -85,3 +85,3 @@ /** | ||
this._lastError = null; | ||
this._uncaughtPromiseErrors = Promise[Zone['__symbol__']('uncaughtPromiseErrors')]; | ||
this._uncaughtPromiseErrors = Promise[Zone.__symbol__('uncaughtPromiseErrors')]; | ||
this.pendingPeriodicTimers = []; | ||
@@ -88,0 +88,0 @@ this.pendingTimers = []; |
@@ -90,3 +90,3 @@ /** | ||
} | ||
var task = error[Zone['__symbol__']('currentTask')]; | ||
var task = error[Zone.__symbol__('currentTask')]; | ||
var trace = task && task.data && task.data[creationTrace]; | ||
@@ -93,0 +93,0 @@ if (!trace) { |
@@ -28,3 +28,3 @@ /** | ||
} | ||
var patchEventTargetMethods = Zone[Zone['__symbol__']('patchEventTargetMethods')]; | ||
var patchEventTargetMethods = Zone[Zone.__symbol__('patchEventTargetMethods')]; | ||
patchEventTargetMethods(_global['MediaQueryList'].prototype, 'addListener', 'removeListener', function (self, args) { | ||
@@ -31,0 +31,0 @@ return { |
@@ -33,3 +33,3 @@ /** | ||
} | ||
var patchOnProperties = Zone[Zone['__symbol__']('patchOnProperties')]; | ||
var patchOnProperties = Zone[Zone.__symbol__('patchOnProperties')]; | ||
patchOnProperties(Notification.prototype, null); | ||
@@ -36,0 +36,0 @@ } |
@@ -22,3 +22,3 @@ /** | ||
(function (_global) { | ||
var __symbol__ = Zone['__symbol__']; | ||
var __symbol__ = Zone.__symbol__; | ||
// TODO: @JiaLiPassion, we can automatically patch bluebird | ||
@@ -25,0 +25,0 @@ // if global.Promise = Bluebird, but sometimes in nodejs, |
@@ -17,3 +17,3 @@ /** | ||
const patchEventTargetMethods = | ||
(Zone as any)[(Zone as any)['__symbol__']('patchEventTargetMethods')]; | ||
(Zone as any)[(Zone as any).__symbol__('patchEventTargetMethods')]; | ||
patchEventTargetMethods( | ||
@@ -20,0 +20,0 @@ _global['MediaQueryList'].prototype, 'addListener', 'removeListener', |
@@ -21,5 +21,5 @@ /** | ||
} | ||
const patchOnProperties = (Zone as any)[(Zone as any)['__symbol__']('patchOnProperties')]; | ||
const patchOnProperties = (Zone as any)[(Zone as any).__symbol__('patchOnProperties')]; | ||
patchOnProperties(Notification.prototype, null); | ||
} | ||
})(typeof window === 'object' && window || typeof self === 'object' && self || global); |
@@ -9,3 +9,3 @@ /** | ||
((_global: any) => { | ||
const __symbol__ = (Zone as any)['__symbol__']; | ||
const __symbol__ = (Zone as any).__symbol__; | ||
// TODO: @JiaLiPassion, we can automatically patch bluebird | ||
@@ -12,0 +12,0 @@ // if global.Promise = Bluebird, but sometimes in nodejs, |
@@ -89,3 +89,3 @@ /** | ||
private _uncaughtPromiseErrors: {rejection: any}[] = | ||
(Promise as any)[(Zone as any)['__symbol__']('uncaughtPromiseErrors')]; | ||
(Promise as any)[(Zone as any).__symbol__('uncaughtPromiseErrors')]; | ||
@@ -92,0 +92,0 @@ pendingPeriodicTimers: number[] = []; |
@@ -86,3 +86,3 @@ /** | ||
} | ||
const task = (error as any)[(Zone as any)['__symbol__']('currentTask')]; | ||
const task = (error as any)[(Zone as any).__symbol__('currentTask')]; | ||
const trace = task && task.data && task.data[creationTrace]; | ||
@@ -89,0 +89,0 @@ if (!trace) { |
{ | ||
"name": "zone.js", | ||
"version": "0.8.2", | ||
"version": "0.8.3", | ||
"description": "Zones for JavaScript", | ||
@@ -5,0 +5,0 @@ "main": "dist/zone-node.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
659758