react-modal
Advanced tools
Comparing version 1.7.0 to 1.7.1
@@ -0,1 +1,7 @@ | ||
v1.7.1 - Thu, 02 Mar 2017 14:49:30 GMT | ||
-------------------------------------- | ||
- [a1d29c6](../../commit/a1d29c6) [fixed] rewrite removePortal as es5 function | ||
v1.7.0 - Thu, 02 Mar 2017 03:54:08 GMT | ||
@@ -2,0 +8,0 @@ -------------------------------------- |
@@ -174,3 +174,2 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
renderPortal: function renderPortal(props) { | ||
@@ -381,3 +380,2 @@ if (props.isOpen) { | ||
close: function close() { | ||
@@ -384,0 +382,0 @@ if (this.props.closeTimeoutMS > 0) this.closeWithTimeout();else this.closeWithoutTimeout(); |
@@ -103,3 +103,3 @@ var React = require('react'); | ||
removePortal () { | ||
removePortal: function() { | ||
ReactDOM.unmountComponentAtNode(this.node); | ||
@@ -106,0 +106,0 @@ var parent = getParentElement(this.props.parentSelector); |
@@ -80,3 +80,3 @@ var React = require('react'); | ||
open () { | ||
open: function () { | ||
if (this.state.afterOpen && this.state.beforeClose) { | ||
@@ -83,0 +83,0 @@ clearTimeout(this.closeTimer); |
{ | ||
"name": "react-modal", | ||
"version": "1.7.0", | ||
"version": "1.7.1", | ||
"description": "Accessible modal dialog component for React.JS", | ||
@@ -5,0 +5,0 @@ "main": "./lib/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
1635676