From f7aeefa521d74d7caba3ed4909780baa6f7bf83c Mon Sep 17 00:00:00 2001 From: Blixt Date: Tue, 14 Apr 2015 15:13:39 -0700 Subject: [PATCH] Fix typo in PanResponder documentation Summary: The documentation said the config object expected `onResponderTerminationRequest` but it expects `onPanResponderTerminationRequest`. Closes https://github.com/facebook/react-native/pull/834 Github Author: Blixt Test Plan: Imported from GitHub, without a `Test Plan:` line. --- 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 b6c11c9bc..d2782cc37 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