Skip to content

Commit

Permalink
Move TouchHistoryMath to React Native repo (#12557)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
sebmarkbage authored Apr 6, 2018
1 parent 7a3416f commit cf649b4
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 172 deletions.
151 changes: 0 additions & 151 deletions packages/events/TouchHistoryMath.js

This file was deleted.

2 changes: 0 additions & 2 deletions packages/react-native-renderer/src/ReactFabric.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import './ReactFabricInjection';

import * as ReactPortal from 'shared/ReactPortal';
import * as ReactGenericBatching from 'events/ReactGenericBatching';
import TouchHistoryMath from 'events/TouchHistoryMath';
import ReactVersion from 'shared/ReactVersion';

import NativeMethodsMixin from './NativeMethodsMixin';
Expand Down Expand Up @@ -87,7 +86,6 @@ const ReactFabric: ReactNativeType = {
ReactNativeBridgeEventPlugin, // requireNativeComponent
ReactNativeComponentTree, // ScrollResponder
ReactNativePropRegistry, // flattenStyle, Stylesheet
TouchHistoryMath, // PanResponder
createReactNativeComponentClass, // RCTText, RCTView, ReactNativeART
takeSnapshot, // react-native-implementation
},
Expand Down
2 changes: 0 additions & 2 deletions packages/react-native-renderer/src/ReactNativeRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import './ReactNativeInjection';

import * as ReactPortal from 'shared/ReactPortal';
import * as ReactGenericBatching from 'events/ReactGenericBatching';
import TouchHistoryMath from 'events/TouchHistoryMath';
import ReactVersion from 'shared/ReactVersion';
// Module provided by RN:
import UIManager from 'UIManager';
Expand Down Expand Up @@ -106,7 +105,6 @@ const ReactNativeRenderer: ReactNativeType = {
ReactNativeBridgeEventPlugin, // requireNativeComponent
ReactNativeComponentTree, // ScrollResponder
ReactNativePropRegistry, // flattenStyle, Stylesheet
TouchHistoryMath, // PanResponder
createReactNativeComponentClass, // RCTText, RCTView, ReactNativeART
takeSnapshot, // react-native-implementation
computeComponentStackForErrorReporting,
Expand Down
17 changes: 0 additions & 17 deletions scripts/rollup/shims/react-native/TouchHistoryMath.js

This file was deleted.

0 comments on commit cf649b4

Please sign in to comment.