(container)
| 29514 | } |
| 29515 | |
| 29516 | function getReactRootElementInContainer(container) { |
| 29517 | if (!container) { |
| 29518 | return null; |
| 29519 | } |
| 29520 | |
| 29521 | if (container.nodeType === DOCUMENT_NODE) { |
| 29522 | return container.documentElement; |
| 29523 | } else { |
| 29524 | return container.firstChild; |
| 29525 | } |
| 29526 | } |
| 29527 | |
| 29528 | function noopOnRecoverableError() {// This isn't reachable because onRecoverableError isn't called in the |
| 29529 | // legacy API. |
no outgoing calls
no test coverage detected
searching dependent graphs…