Skip to content

Commit

Permalink
updated to react 15
Browse files Browse the repository at this point in the history
  • Loading branch information
dinodsaurus committed May 27, 2016
1 parent c6d1b8c commit 14ecec6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
21 changes: 10 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-gcaptcha",
"version": "2.0.0",
"version": "3.0.0",
"description": "A react.js google reCAPTCHA component",
"main": "dist/index.js",
"scripts": {
Expand Down Expand Up @@ -36,18 +36,17 @@
},
"homepage": "https://github.com/twobucks/react-gcaptcha",
"devDependencies": {
"babel-cli": "^6.5.1",
"babel-jest": "^6.0.1",
"babel-preset-es2015": "^6.5.0",
"babel-cli": "^6.9.0",
"babel-jest": "^12.1.0",
"babel-preset-es2015": "^6.9.0",
"babel-preset-react": "^6.5.0",
"eslint": "^1.4.3",
"eslint-plugin-react": "^3.3.2",
"jest-cli": "^0.8.2",
"react-addons-test-utils": "^0.14.7",
"react-dom": "^0.14.7",
"react-tools": "^0.13.3"
"eslint": "^2.10.2",
"eslint-plugin-react": "^5.1.1",
"jest-cli": "^12.1.1",
"react-addons-test-utils": "^15.1.0",
"react-dom": "^15.1.0"
},
"dependencies": {
"react": "^0.14.7"
"react": "^15.1.0"
}
}
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const React = require("react");
class Recaptcha extends React.Component {
constructor(props) {
super(null);
super(props);
}
loadCaptcha() {
grecaptcha.render(this.props.elementID, {
Expand Down

0 comments on commit 14ecec6

Please sign in to comment.