Skip to content

Commit

Permalink
Bump 0.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
kuy committed Sep 16, 2016
1 parent f265517 commit 845df79
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
11 changes: 8 additions & 3 deletions lib/origin.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ var _react2 = _interopRequireDefault(_react);

var _reactRedux = require('react-redux');

var _blacklist = require('blacklist');

var _blacklist2 = _interopRequireDefault(_blacklist);

var _actions = require('./actions');

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
Expand Down Expand Up @@ -58,8 +62,7 @@ var Origin = function (_Component) {
value: function render() {
var _this2 = this;

var props = _extends({}, this.props);
delete props['dispatch'];
var props = (0, _blacklist2.default)(this.props, 'name', 'content', 'place', 'tagName', 'delay', 'delayOn', 'dispatch', 'onTimeout', 'onHover', 'onLeave');

if (!props.onMouseEnter) {
props.onMouseEnter = function (e) {
Expand Down Expand Up @@ -128,7 +131,9 @@ var Origin = function (_Component) {
delayOn: _react.PropTypes.oneOf(['show', 'hide', 'both']),
onTimeout: _react.PropTypes.func,
onMouseEnter: _react.PropTypes.func,
onMouseLeave: _react.PropTypes.func
onMouseLeave: _react.PropTypes.func,
onHover: _react.PropTypes.func,
onLeave: _react.PropTypes.func
};
}
}, {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "redux-tooltip",
"version": "0.6.0",
"version": "0.6.1",
"description": "A tooltip React component for Redux",
"main": "./lib/index.js",
"repository": {
Expand Down

0 comments on commit 845df79

Please sign in to comment.