react-native/ReactCommon
Ramanpreet Nara 4c7cf13678 Setup event emitters for `TextShdowNode` and `ParagraphShadowNode`
Summary:
This diff includes two changes:
1. `TextShadowNode` represents virtual texts. For the time being, virtual text nodes only need touch capabilities so that they can handle `onPress` events for their children. Therefore, we should set the `TextShadowNode`'s `EventEmitterT` to `TouchEventEmitter`.
2. Since `ParagraphShadowNode` extends an instance of the `ConcreteViewShadowNode` template, it automatically uses the `ViewEventEmitter` if no event emitter is specified. I think it's better to make the event emitter explicitly specified. So, I've included that change in this diff.

Reviewed By: shergin

Differential Revision: D9696906

fbshipit-source-id: ac053ffdde4c2fbc6351f177c07a2ada4445cbb8
2018-09-10 11:41:34 -07:00
..
cxxreact Update loads for glob_defs.bzl 2018-08-30 01:46:51 -07:00
fabric Setup event emitters for `TextShdowNode` and `ParagraphShadowNode` 2018-09-10 11:41:34 -07:00
jschelpers Move RN's DEFS.bzl to tools and rename to rn_defs.bzl 2018-08-29 13:21:52 -07:00
jsinspector Update loads for glob_defs.bzl 2018-08-30 01:46:51 -07:00
microprofiler Move RN's DEFS.bzl to tools and rename to rn_defs.bzl 2018-08-29 13:21:52 -07:00
privatedata Update loads for glob_defs.bzl 2018-08-30 01:46:51 -07:00
yoga Expose logging capablities in Yoga header 2018-08-30 04:47:15 -07:00