* Accumulates without regard to direction, does not look for phased * registration names. Same as `accumulateDirectDispatchesSingle` but without * requiring that the `dispatchMarker` be the same as the dispatched ID.
(inst, ignoredDirection, event)
| 8349 | |
| 8350 | |
| 8351 | function accumulateDispatches(inst, ignoredDirection, event) { |
| 8352 | if (inst && event && event.dispatchConfig.registrationName) { |
| 8353 | var registrationName = event.dispatchConfig.registrationName; |
| 8354 | var listener = getListener(inst, registrationName); |
| 8355 | |
| 8356 | if (listener) { |
| 8357 | event._dispatchListeners = accumulateInto(event._dispatchListeners, listener); |
| 8358 | event._dispatchInstances = accumulateInto(event._dispatchInstances, inst); |
| 8359 | } |
| 8360 | } |
| 8361 | } |
| 8362 | /** |
| 8363 | * Accumulates dispatches on an `SyntheticEvent`, but only for the |
| 8364 | * `dispatchMarker`. |
no test coverage detected