Skip to content

Commit

Permalink
version bump to 1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nygardk committed Mar 8, 2016
1 parent e640044 commit dd45586
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 27 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 1.1.1 (Mar 8, 2016)

Very important bugfix: rendering was causing redundant mounts and
unmounts that caused unwanted side-effects on rare cases.

## 0.7.0 (Oct 23, 2015)

### Breaking changes
Expand Down
8 changes: 2 additions & 6 deletions build/react-loader-advanced.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,15 +214,15 @@ var Loader = _react2.default.createClass({
'filter': 'blur(' + contentBlur + 'px)'
} : {});

return shouldShowLoader ? _react2.default.createElement(
return _react2.default.createElement(
'div',
{ className: 'Loader', style: loaderStyle },
_react2.default.createElement(
'div',
{ className: 'Loader__content', style: contentStyle },
children
),
_react2.default.createElement(
!!shouldShowLoader && _react2.default.createElement(
'div',
{ className: 'Loader__background', style: bgStyle },
_react2.default.createElement(
Expand All @@ -235,10 +235,6 @@ var Loader = _react2.default.createClass({
)
)
)
) : _react2.default.createElement(
'div',
{ style: loaderStyle },
children
);
}
});
Expand Down
19 changes: 9 additions & 10 deletions demos/demo0/bundle.js

Large diffs are not rendered by default.

19 changes: 9 additions & 10 deletions demos/demo1/bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-loader-advanced",
"version": "1.1.0",
"version": "1.1.1",
"description": "Show loader overlaying your component during async events.",
"main": "./build/react-loader-advanced.js",
"scripts": {
Expand Down

0 comments on commit dd45586

Please sign in to comment.