react-onclickoutside
Advanced tools
Comparing version 0.2.1 to 0.2.2
{ | ||
"name": "react-onclickoutside", | ||
"version": "0.2.0", | ||
"version": "0.2.2", | ||
"description": "An onClickOutside mixin for React components", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -71,3 +71,7 @@ /** | ||
var fn = handlers[pos]; | ||
if (fn) { | ||
// clean up so we don't leak memory | ||
handlers.splice(pos, 1); | ||
registeredComponents.splice(pos, 1); | ||
document.removeEventListener("mousedown", fn); | ||
@@ -74,0 +78,0 @@ document.removeEventListener("touchstart", fn); |
{ | ||
"name": "react-onclickoutside", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "An onClickOutside mixin for React components", | ||
@@ -5,0 +5,0 @@ "main": "index.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
4876
104