react-onclickoutside
Advanced tools
Comparing version 0.2.5 to 0.3.0
@@ -18,3 +18,3 @@ /** | ||
// AMD. Register as an anonymous module. | ||
define([], factory); | ||
define(['react'], factory); | ||
} else if (typeof exports === 'object') { | ||
@@ -24,8 +24,8 @@ // Node. Note that this does not work with strict | ||
// that support module.exports | ||
module.exports = factory(); | ||
module.exports = factory(require('react')); | ||
} else { | ||
// Browser globals (root is window) | ||
root.OnClickOutside = factory(); | ||
root.OnClickOutside = factory(React); | ||
} | ||
}(this, function () { | ||
}(this, function (React) { | ||
"use strict"; | ||
@@ -32,0 +32,0 @@ |
{ | ||
"name": "react-onclickoutside", | ||
"version": "0.2.5", | ||
"version": "0.3.0", | ||
"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
7808