2015-04-01 06:01:24 +08:00
|
|
|
/**
|
2017-09-25 04:48:13 +08:00
|
|
|
* Copyright (c) 2013-present, Facebook, Inc.
|
2015-04-01 06:01:24 +08:00
|
|
|
*
|
2017-09-25 04:48:13 +08:00
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
2015-04-01 06:01:24 +08:00
|
|
|
*/
|
|
|
|
|
2017-11-03 03:50:03 +08:00
|
|
|
import SyntheticEvent from './SyntheticEvent';
|
2015-04-01 06:01:24 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* `touchHistory` isn't actually on the native event, but putting it in the
|
|
|
|
* interface will ensure that it is cleaned up when pooled/destroyed. The
|
|
|
|
* `ResponderEventPlugin` will populate it appropriately.
|
|
|
|
*/
|
2017-12-13 00:45:40 +08:00
|
|
|
const ResponderSyntheticEvent = SyntheticEvent.extend({
|
2015-04-01 06:01:24 +08:00
|
|
|
touchHistory: function(nativeEvent) {
|
|
|
|
return null; // Actually doesn't even look at the native event.
|
2015-06-02 07:31:08 +08:00
|
|
|
},
|
2017-12-13 00:45:40 +08:00
|
|
|
});
|
2015-04-01 06:01:24 +08:00
|
|
|
|
2017-11-03 03:50:03 +08:00
|
|
|
export default ResponderSyntheticEvent;
|