From 09954a097db8b2b0e1c9080825ac06b8221e9ed5 Mon Sep 17 00:00:00 2001 From: Blixt Date: Mon, 13 Apr 2015 17:32:15 -0400 Subject: [PATCH] Fix typo in PanResponder documentation The documentation said the config object expected `onResponderTerminationRequest` but it expects `onPanResponderTerminationRequest`. --- Libraries/vendor/react/browser/eventPlugins/PanResponder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/vendor/react/browser/eventPlugins/PanResponder.js b/Libraries/vendor/react/browser/eventPlugins/PanResponder.js index b6c11c9bcc3cba..d2782cc370be56 100644 --- a/Libraries/vendor/react/browser/eventPlugins/PanResponder.js +++ b/Libraries/vendor/react/browser/eventPlugins/PanResponder.js @@ -64,7 +64,7 @@ var currentCentroidY = TouchHistoryMath.currentCentroidY; * // The accumulated gesture distance since becoming responder is * // gestureState.d{x,y} * }, - * onResponderTerminationRequest: (evt, gestureState) => true, + * onPanResponderTerminationRequest: (evt, gestureState) => true, * onPanResponderRelease: (evt, gestureState) => { * // The user has released all touches while this view is the * // responder. This typically means a gesture has succeeded