Skip to content

Commit 5d748a9

Browse files
committed
Merge pull request #3 from remotezygote/master
Updates package for React 0.14 compatibility
2 parents dd435e5 + 6a59e4f commit 5d748a9

File tree

6 files changed

+14
-10
lines changed

6 files changed

+14
-10
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@
99

1010
.DS_Store
1111
npm-debug.log
12-
/node_modules/*
12+
/node_modules/*
13+
react-signature-pad-*.tgz

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ React.render(
2121
<SignaturePad clearButton="true" ref="mySignature" />
2222
...
2323

24-
var signature = React.findDOMNode(this.refs.mySignature);
24+
var signature = this.refs.mySignature;
2525

2626
// Methods
2727

@@ -58,4 +58,4 @@ In order to make the signature pad work correctly you will need the css as well.
5858
```bash
5959
$ npm start
6060
```
61-
Then navigate to http://localhost:8080/ in your browser and you should be able to see the signature pad in action.
61+
Then navigate to http://localhost:8080/ in your browser and you should be able to see the signature pad in action.

lib/app.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)