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 #1464

Reviewed By: @​svcscm

Differential Revision: D2471541

Pulled By: @vjeux
  • Loading branch information
Brent Vatne authored and facebook-github-bot-7 committed Sep 23, 2015
1 parent 1ab650f commit 118cf51
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 118cf51

Please sign in to comment.