mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Prettier the rest of ReactNative
Reviewed By: yungsters Differential Revision: D7974340 fbshipit-source-id: 5fe457a8a9be4bd360fc3af9acb5c1136b2be0d7
This commit is contained in:
committed by
Facebook Github Bot
parent
aba4ec0c09
commit
36fcbaa56d
@@ -4,6 +4,7 @@
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*
|
||||
* @format
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
@@ -15,16 +16,16 @@ var TouchEventUtils = require('fbjs/lib/TouchEventUtils');
|
||||
var View = require('View');
|
||||
|
||||
class TouchTestApp extends React.Component {
|
||||
handleStartShouldSetResponder = (e) => {
|
||||
handleStartShouldSetResponder = e => {
|
||||
return true;
|
||||
};
|
||||
|
||||
handleOnResponderMove = (e) => {
|
||||
handleOnResponderMove = e => {
|
||||
e = TouchEventUtils.extractSingleTouch(e.nativeEvent);
|
||||
Recording.record('move;' + e.touches.length);
|
||||
};
|
||||
|
||||
handleResponderStart = (e) => {
|
||||
handleResponderStart = e => {
|
||||
e = TouchEventUtils.extractSingleTouch(e.nativeEvent);
|
||||
if (e.touches) {
|
||||
Recording.record('start;' + e.touches.length);
|
||||
@@ -33,7 +34,7 @@ class TouchTestApp extends React.Component {
|
||||
}
|
||||
};
|
||||
|
||||
handleResponderEnd = (e) => {
|
||||
handleResponderEnd = e => {
|
||||
e = TouchEventUtils.extractSingleTouch(e.nativeEvent);
|
||||
if (e.touches) {
|
||||
Recording.record('end;' + e.touches.length);
|
||||
|
||||
Reference in New Issue
Block a user