Fix PanResponder example code

Summary: Fixes this:

![](http://url.brentvatne.ca/VwLF.png)
Closes https://github.com/facebook/react-native/pull/1464

Reviewed By: @​svcscm

Differential Revision: D2471541

Pulled By: @vjeux
This commit is contained in:
Brent Vatne 2015-09-23 11:21:54 -07:00 committed by facebook-github-bot-7
parent 1ab650f958
commit 118cf51522
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ var currentCentroidY = TouchHistoryMath.currentCentroidY;
*
* ```
* componentWillMount: function() {
* this._panGesture = PanResponder.create({
* this._panResponder = PanResponder.create({
* // Ask to be the responder:
* onStartShouldSetPanResponder: (evt, gestureState) => true,
* onStartShouldSetPanResponderCapture: (evt, gestureState) => true,