Skip to content

Commit

Permalink
Fix PanResponder example code
Browse files Browse the repository at this point in the history
Summary: Fixes this:

![](http://url.brentvatne.ca/VwLF.png)
Closes facebook#1464

Reviewed By: @​svcscm

Differential Revision: D2471541

Pulled By: @vjeux
  • Loading branch information
Brent Vatne authored and Tj committed Nov 9, 2015
1 parent 4df5fab commit 8837822
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 8837822

Please sign in to comment.