Skip to content

Commit 55920f9

Browse files
committed
Release v2.2.1.
1 parent 7301aa7 commit 55920f9

File tree

5 files changed

+10
-8
lines changed

5 files changed

+10
-8
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
v2.2.1 - Fri, 30 Jun 2017 09:21:36 UTC
2+
--------------------------------------
3+
4+
5+
6+
17
v2.2.0 - Wed, 28 Jun 2017 18:55:23 UTC
28
--------------------------------------
39

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-modal",
3-
"version": "2.2.0",
3+
"version": "2.2.1",
44
"homepage": "https://github.com/reactjs/react-modal",
55
"authors": [
66
"Ryan Florence",

dist/react-modal.js

+1-5
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,6 @@ return /******/ (function(modules) { // webpackBootstrap
188188
}, {
189189
key: 'componentWillUnmount',
190190
value: function componentWillUnmount() {
191-
var _this2 = this;
192-
193191
if (!this.node) return;
194192

195193
var state = this.portal.state;
@@ -201,9 +199,7 @@ return /******/ (function(modules) { // webpackBootstrap
201199
this.portal.closeWithTimeout();
202200
}
203201

204-
setTimeout(function () {
205-
return _this2.removePortal;
206-
}, closesAt - now);
202+
setTimeout(this.removePortal, closesAt - now);
207203
} else {
208204
this.removePortal();
209205
}

0 commit comments

Comments
 (0)