react-tooltip
Advanced tools
Comparing version 0.3.3 to 0.3.4
@@ -25,3 +25,4 @@ 'use strict'; | ||
effect: _react2['default'].PropTypes.string, | ||
positon: _react2['default'].PropTypes.object }, | ||
positon: _react2['default'].PropTypes.object | ||
}, | ||
@@ -37,3 +38,4 @@ getInitialState: function getInitialState() { | ||
effect: '', | ||
position: {} }; | ||
position: {} | ||
}; | ||
}, | ||
@@ -127,3 +129,4 @@ | ||
effect: e.target.getAttribute('data-effect') ? e.target.getAttribute('data-effect') : this.props.effect ? this.props.effect : 'float', | ||
position: e.target.getAttribute('data-position') ? e.target.getAttribute('data-position') : this.props.position ? this.props.position : {} }); | ||
position: e.target.getAttribute('data-position') ? e.target.getAttribute('data-position') : this.props.position ? this.props.position : {} | ||
}); | ||
this.updateTooltip(e); | ||
@@ -178,3 +181,4 @@ }, | ||
x: 'NONE', | ||
y: 'NONE' }); | ||
y: 'NONE' | ||
}); | ||
}, | ||
@@ -211,5 +215,6 @@ | ||
return newString.join(''); | ||
} }); | ||
} | ||
}); | ||
exports['default'] = ReactTooltip; | ||
module.exports = exports['default']; |
{ | ||
"name": "react-tooltip", | ||
"version": "0.3.3", | ||
"version": "0.3.4", | ||
"description": "react tooltip component", | ||
@@ -35,3 +35,3 @@ "main": "dist/react-tooltip.js", | ||
"peerDependencies": { | ||
"react": ">=0.12.0" | ||
"react": ">=0.13.1" | ||
}, | ||
@@ -38,0 +38,0 @@ "dependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
25716
398
3