* Collect dispatches (must be entirely collected before dispatching - see unit * tests). Lazily allocate the array to conserve memory. We must loop through * each event and perform the traversal for each one. We cannot perform a * single traversal for the entire collection of events because each
(event)
| 2686 | * have a different target. |
| 2687 | */ |
| 2688 | function accumulateTwoPhaseDispatchesSingle(event) { |
| 2689 | if (event && event.dispatchConfig.phasedRegistrationNames) { |
| 2690 | traverseTwoPhase(event._targetInst, accumulateDirectionalDispatches, event); |
| 2691 | } |
| 2692 | } |
| 2693 | |
| 2694 | /** |
| 2695 | * Same as `accumulateTwoPhaseDispatchesSingle`, but skips over the targetID. |
nothing calls this directly
no test coverage detected