mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Simplify OSS enums
Summary: Simplifying our OSS enums (remove private variables and methods) so that redex can more easily optimize them for us. Reviewed By: achen1, Feng23 Differential Revision: D9812796 fbshipit-source-id: 11a8272db41ff04399d1cdf366e28ddf1b07b7be
This commit is contained in:
committed by
Facebook Github Bot
parent
fa6035bda6
commit
c5186aeb46
+4
-4
@@ -35,7 +35,7 @@ import java.util.Map;
|
||||
"phasedRegistrationNames",
|
||||
MapBuilder.of("bubbled", "onSelect", "captured", "onSelectCapture")))
|
||||
.put(
|
||||
TouchEventType.START.getJSEventName(),
|
||||
TouchEventType.getJSEventName(TouchEventType.START),
|
||||
MapBuilder.of(
|
||||
"phasedRegistrationNames",
|
||||
MapBuilder.of(
|
||||
@@ -44,7 +44,7 @@ import java.util.Map;
|
||||
"captured",
|
||||
"onTouchStartCapture")))
|
||||
.put(
|
||||
TouchEventType.MOVE.getJSEventName(),
|
||||
TouchEventType.getJSEventName(TouchEventType.MOVE),
|
||||
MapBuilder.of(
|
||||
"phasedRegistrationNames",
|
||||
MapBuilder.of(
|
||||
@@ -53,7 +53,7 @@ import java.util.Map;
|
||||
"captured",
|
||||
"onTouchMoveCapture")))
|
||||
.put(
|
||||
TouchEventType.END.getJSEventName(),
|
||||
TouchEventType.getJSEventName(TouchEventType.END),
|
||||
MapBuilder.of(
|
||||
"phasedRegistrationNames",
|
||||
MapBuilder.of(
|
||||
@@ -62,7 +62,7 @@ import java.util.Map;
|
||||
"captured",
|
||||
"onTouchEndCapture")))
|
||||
.put(
|
||||
TouchEventType.CANCEL.getJSEventName(),
|
||||
TouchEventType.getJSEventName(TouchEventType.CANCEL),
|
||||
MapBuilder.of(
|
||||
"phasedRegistrationNames",
|
||||
MapBuilder.of(
|
||||
|
||||
Reference in New Issue
Block a user