Skip to content

Commit 4bae32b

Browse files
committed
release v1.7.5
1 parent 1db0ee1 commit 4bae32b

File tree

5 files changed

+26
-26
lines changed

5 files changed

+26
-26
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
v1.7.5 - Thu, 13 Apr 2017 14:20:34 GMT
2+
--------------------------------------
3+
4+
- [1db0ee1](../../commit/1db0ee1) [fixed] remove es2015 from v1 branch
5+
6+
17
v1.7.4 - Thu, 13 Apr 2017 13:37:19 GMT
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": "1.7.4",
3+
"version": "1.7.5",
44
"homepage": "https://github.com/reactjs/react-modal",
55
"authors": [
66
"Ryan Florence",

dist/react-modal.js

+16-22
Original file line numberDiff line numberDiff line change
@@ -3042,31 +3042,25 @@ return /******/ (function(modules) { // webpackBootstrap
30423042

30433043
"use strict";
30443044

3045-
Object.defineProperty(exports, "__esModule", {
3046-
value: true
3047-
});
3048-
exports.add = add;
3049-
exports.remove = remove;
3050-
exports.count = count;
30513045
var modals = [];
30523046

3053-
function add(element) {
3054-
if (modals.indexOf(element) === -1) {
3055-
modals.push(element);
3056-
}
3057-
}
3058-
3059-
function remove(element) {
3060-
var index = modals.indexOf(element);
3061-
if (index === -1) {
3062-
return;
3047+
module.exports = {
3048+
add: function add(element) {
3049+
if (modals.indexOf(element) === -1) {
3050+
modals.push(element);
3051+
}
3052+
},
3053+
remove: function remove(element) {
3054+
var index = modals.indexOf(element);
3055+
if (index === -1) {
3056+
return;
3057+
}
3058+
modals.splice(index, 1);
3059+
},
3060+
count: function count() {
3061+
return modals.length;
30633062
}
3064-
modals.splice(index, 1);
3065-
}
3066-
3067-
function count() {
3068-
return modals.length;
3069-
}
3063+
};
30703064

30713065
/***/ },
30723066
/* 24 */

0 commit comments

Comments
 (0)