From 8ffc16c6e7d25dd434ca3fc7f9ffd6d5917f7bcd Mon Sep 17 00:00:00 2001 From: Semen Zhydenko Date: Mon, 29 Jan 2018 19:10:33 -0800 Subject: [PATCH] Typos in code Summary: To fix typos No testing required, changed only internal things names No addtionalStyles -> additionalStyles occured -> occurred recomendedType -> recommendedType markDirtyAndPropogate -> markDirtyAndPropagate targetting -> targeting RCTApplyTranformationAccordingLayoutDirection -> RCTApplyTransformationAccordingLayoutDirection (tranform -> transform) Closes https://github.com/facebook/react-native/pull/17587 Differential Revision: D6832696 Pulled By: shergin fbshipit-source-id: 452287e5ce82df5c6b87126cb21889b7bd9d73c1 --- Libraries/Inspector/Inspector.js | 6 +++--- Libraries/Inspector/InspectorPanel.js | 8 ++++---- Libraries/vendor/emitter/EventValidator.js | 6 +++--- RNTester/js/ScrollViewExample.js | 4 ++-- React/Base/Surface/RCTSurface.mm | 8 ++++---- React/Views/ScrollView/RCTScrollView.m | 8 ++++---- ReactAndroid/src/main/jni/first-party/fb/jni/fbjni.cpp | 8 ++++---- 7 files changed, 24 insertions(+), 24 deletions(-) diff --git a/Libraries/Inspector/Inspector.js b/Libraries/Inspector/Inspector.js index 8bfe2ef4238..37eef369bb9 100644 --- a/Libraries/Inspector/Inspector.js +++ b/Libraries/Inspector/Inspector.js @@ -208,7 +208,7 @@ class Inspector extends React.Component<{ }); } - setTouchTargetting(val: bool) { + setTouchTargeting(val: bool) { Touchable.TOUCH_TARGET_DEBUG = val; this.props.onRequestRerenderApp((inspectedViewTag) => { this.setState({inspectedViewTag}); @@ -247,8 +247,8 @@ class Inspector extends React.Component<{ hierarchy={this.state.hierarchy} selection={this.state.selection} setSelection={this.setSelection.bind(this)} - touchTargetting={Touchable.TOUCH_TARGET_DEBUG} - setTouchTargetting={this.setTouchTargetting.bind(this)} + touchTargeting={Touchable.TOUCH_TARGET_DEBUG} + setTouchTargeting={this.setTouchTargeting.bind(this)} networking={this.state.networking} setNetworking={this.setNetworking.bind(this)} /> diff --git a/Libraries/Inspector/InspectorPanel.js b/Libraries/Inspector/InspectorPanel.js index b7b6f61eb3e..a37b37f8ef2 100644 --- a/Libraries/Inspector/InspectorPanel.js +++ b/Libraries/Inspector/InspectorPanel.js @@ -82,8 +82,8 @@ class InspectorPanel extends React.Component<$FlowFixMeProps> { onClick={this.props.setNetworking} />