dillon1000/react

Commit

Kill React.initializeTouchEvents for good

Now that #1169 is fixed, the only thing this is used for is to determine whether `onTouchTap` causes touch listeners to be added. The only internal uses of TapEventPlugin are where touch events are already initialized (so this doesn't make a difference) and we don't support `onTouchTap` as part of the public API so this should be safe.
Browse files
Changed paths8 files
First-parent comparison
M docs/docs/03-interactivity-and-dynamic-uis.md ModifiedM docs/docs/03-interactivity-and-dynamic-uis.zh-CN.md ModifiedM docs/docs/ref-01-top-level-api.md ModifiedM docs/docs/ref-05-events.md ModifiedM docs/docs/ref-05-events.zh-CN.md ModifiedM src/browser/eventPlugins/TapEventPlugin.js ModifiedM src/browser/ui/React.js ModifiedM src/event/EventPluginUtils.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…