Rename native event `timeStamp` to `timestamp`

Summary: It's called `timestamp` on iOS, making it consistent.

Reviewed By: foghina

Differential Revision: D3820937

fbshipit-source-id: 2805f1fc10d6445d8b31676e0e3dca348510ffe7
This commit is contained in:
Andrei Coman 2016-09-07 06:14:36 -07:00 committed by Facebook Github Bot 3
parent 40baf6a5b9
commit 8aeeb4d6a0
2 changed files with 3 additions and 4 deletions

View File

@ -24,7 +24,7 @@ import com.facebook.react.uimanager.PixelUtil;
private static final String PAGE_X_KEY = "pageX";
private static final String PAGE_Y_KEY = "pageY";
private static final String TARGET_KEY = "target";
private static final String TIMESTAMP_KEY = "timeStamp";
private static final String TIMESTAMP_KEY = "timestamp";
private static final String POINTER_IDENTIFIER_KEY = "identifier";
private static final String LOCATION_X_KEY = "locationX";
@ -106,5 +106,4 @@ import com.facebook.react.uimanager.PixelUtil;
pointers,
changedIndices);
}
}

View File

@ -149,7 +149,7 @@ public class RootViewTest {
0.,
"target",
rootViewId,
"timeStamp",
"timestamp",
(double) ts,
"identifier",
0.));
@ -186,7 +186,7 @@ public class RootViewTest {
0.,
"target",
rootViewId,
"timeStamp",
"timestamp",
(double) ts,
"identifier",
0.));