Skip to content

Commit cf649b4

Browse files
authored
Move TouchHistoryMath to React Native repo (#12557)
This isn't used by React core and is just a pure helper so it might as well live where it's used. The React Native repo.
1 parent 7a3416f commit cf649b4

File tree

4 files changed

+0
-172
lines changed

4 files changed

+0
-172
lines changed

packages/events/TouchHistoryMath.js

Lines changed: 0 additions & 151 deletions
This file was deleted.

packages/react-native-renderer/src/ReactFabric.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import './ReactFabricInjection';
1414

1515
import * as ReactPortal from 'shared/ReactPortal';
1616
import * as ReactGenericBatching from 'events/ReactGenericBatching';
17-
import TouchHistoryMath from 'events/TouchHistoryMath';
1817
import ReactVersion from 'shared/ReactVersion';
1918

2019
import NativeMethodsMixin from './NativeMethodsMixin';
@@ -87,7 +86,6 @@ const ReactFabric: ReactNativeType = {
8786
ReactNativeBridgeEventPlugin, // requireNativeComponent
8887
ReactNativeComponentTree, // ScrollResponder
8988
ReactNativePropRegistry, // flattenStyle, Stylesheet
90-
TouchHistoryMath, // PanResponder
9189
createReactNativeComponentClass, // RCTText, RCTView, ReactNativeART
9290
takeSnapshot, // react-native-implementation
9391
},

packages/react-native-renderer/src/ReactNativeRenderer.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import './ReactNativeInjection';
1414

1515
import * as ReactPortal from 'shared/ReactPortal';
1616
import * as ReactGenericBatching from 'events/ReactGenericBatching';
17-
import TouchHistoryMath from 'events/TouchHistoryMath';
1817
import ReactVersion from 'shared/ReactVersion';
1918
// Module provided by RN:
2019
import UIManager from 'UIManager';
@@ -106,7 +105,6 @@ const ReactNativeRenderer: ReactNativeType = {
106105
ReactNativeBridgeEventPlugin, // requireNativeComponent
107106
ReactNativeComponentTree, // ScrollResponder
108107
ReactNativePropRegistry, // flattenStyle, Stylesheet
109-
TouchHistoryMath, // PanResponder
110108
createReactNativeComponentClass, // RCTText, RCTView, ReactNativeART
111109
takeSnapshot, // react-native-implementation
112110
computeComponentStackForErrorReporting,

scripts/rollup/shims/react-native/TouchHistoryMath.js

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)