(dispatchConfig, targetInst, nativeEvent, nativeInst)
| 8692 | } |
| 8693 | |
| 8694 | function getPooledEvent(dispatchConfig, targetInst, nativeEvent, nativeInst) { |
| 8695 | var EventConstructor = this; |
| 8696 | |
| 8697 | if (EventConstructor.eventPool.length) { |
| 8698 | var instance = EventConstructor.eventPool.pop(); |
| 8699 | EventConstructor.call(instance, dispatchConfig, targetInst, nativeEvent, nativeInst); |
| 8700 | return instance; |
| 8701 | } |
| 8702 | |
| 8703 | return new EventConstructor(dispatchConfig, targetInst, nativeEvent, nativeInst); |
| 8704 | } |
| 8705 | |
| 8706 | function releasePooledEvent(event) { |
| 8707 | var EventConstructor = this; |
nothing calls this directly
no outgoing calls
no test coverage detected