(container)
| 11265 | } |
| 11266 | |
| 11267 | function getNativeRootInstanceInContainer(container) { |
| 11268 | var rootEl = getReactRootElementInContainer(container); |
| 11269 | var prevNativeInstance = rootEl && ReactDOMComponentTree.getInstanceFromNode(rootEl); |
| 11270 | return prevNativeInstance && !prevNativeInstance._nativeParent ? prevNativeInstance : null; |
| 11271 | } |
| 11272 | |
| 11273 | function getTopLevelWrapperInContainer(container) { |
| 11274 | var root = getNativeRootInstanceInContainer(container); |
no test coverage detected
searching dependent graphs…