* If a `change` event should be fired, returns the target's ID.
(topLevelType, targetInst)
| 1084 | * If a `change` event should be fired, returns the target's ID. |
| 1085 | */ |
| 1086 | function getTargetInstForInputEvent(topLevelType, targetInst) { |
| 1087 | if (topLevelType === topLevelTypes.topInput) { |
| 1088 | // In modern browsers (i.e., not IE8 or IE9), the input event is exactly |
| 1089 | // what we want so fall through here and trigger an abstract event |
| 1090 | return targetInst; |
| 1091 | } |
| 1092 | } |
| 1093 | |
| 1094 | function handleEventsForInputEventIE(topLevelType, target, targetInst) { |
| 1095 | if (topLevelType === topLevelTypes.topFocus) { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…