Comparing version 0.4.2 to 0.4.3
{ | ||
"name": "zone.js", | ||
"version": "0.4.2", | ||
"version": "0.4.3", | ||
"description": "Zones for JavaScript", | ||
@@ -5,0 +5,0 @@ "main": "zone.js", |
@@ -126,6 +126,6 @@ 'use strict'; | ||
zone[setName] = function (fn) { | ||
var id; | ||
var id, fnRef = fn; | ||
arguments[0] = function () { | ||
delete ids[id]; | ||
return fn.apply(this, arguments); | ||
return fnRef.apply(this, arguments); | ||
}; | ||
@@ -168,4 +168,5 @@ var args = bindArgs(arguments); | ||
zone[name] = function (fn) { | ||
var fnRef = fn; | ||
arguments[0] = function () { | ||
return fn.apply(this, arguments); | ||
return fnRef.apply(this, arguments); | ||
}; | ||
@@ -172,0 +173,0 @@ var args = Zone.bindArgumentsOnce(arguments); |
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
342761
5846