Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 33b59d3

Browse files
committedAug 24, 2015
Changed deprecated getDOMNode calls to React.findDOMNode
1 parent ce162b5 commit 33b59d3

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed
 

‎bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-checkbox-group",
3-
"version": "0.1.9",
3+
"version": "0.2.0",
44
"author": "Ziad Saab <ziad.saab@gmail.com>",
55
"description": "Sensible checkbox groups manipulation for DOM.",
66
"main": "react-checkbox-group.js",

‎package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-checkbox-group",
3-
"version": "0.1.9",
3+
"version": "0.2.0",
44
"description": "Sensible checkbox groups manipulation for DOM.",
55
"main": "react-checkbox-group.js",
66
"scripts": {
@@ -27,7 +27,7 @@
2727
},
2828
"homepage": "https://github.com/ziad-saab/react-checkbox-group",
2929
"peerDependencies": {
30-
"react": ">= 0.11.1 < 1"
30+
"react": ">= 0.13.0 < 1"
3131
},
3232
"devDependencies": {
3333
"babel": "^5.6.7"

‎react-checkbox-group.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ module.exports = React.createClass({
4848
},
4949

5050
getCheckboxes: function getCheckboxes() {
51-
return this.getDOMNode().querySelectorAll('input[type="checkbox"]');
51+
return React.findDOMNode(this).querySelectorAll('input[type="checkbox"]');
5252
},
5353

5454
setCheckedBoxes: function setCheckedBoxes() {

‎react-checkbox-group.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ module.exports = React.createClass({
3838
},
3939

4040
getCheckboxes: function() {
41-
return this.getDOMNode().querySelectorAll('input[type="checkbox"]');
41+
return React.findDOMNode(this).querySelectorAll('input[type="checkbox"]');
4242
},
4343

4444
setCheckedBoxes: function() {

0 commit comments

Comments
 (0)
Please sign in to comment.