Skip to content

Commit

Permalink
new version for react 0.13.x
Browse files Browse the repository at this point in the history
  • Loading branch information
voronianski committed May 3, 2015
1 parent a76e7ca commit 06f6f43
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-swipe",
"version": "2.0.11",
"version": "2.1.0",
"description": "Brad Birdsall's Swipe.js, as a React component",
"homepage": "https://github.com/jed/react-swipe",
"keywords": [
Expand All @@ -27,11 +27,11 @@
"prepublish": "npm run build"
},
"dependencies": {
"react": "0.12.x",
"react": "0.13.x",
"swipe-js-iso": ">=2.0.0"
},
"peerDependencies": {
"react": "0.12.x",
"react": "0.13.x",
"swipe-js-iso": ">=2.0.0"
}
}
2 changes: 1 addition & 1 deletion react-swipe.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

componentDidMount: function () {
if (this.isMounted()) {
this.swipe = Swipe(this.getDOMNode(), this.props);
this.swipe = Swipe(React.findDOMNode(this), this.props);
}
},

Expand Down
2 changes: 1 addition & 1 deletion react-swipe.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 06f6f43

Please sign in to comment.