(container)
| 11185 | textInstance.nodeValue = text; |
| 11186 | } |
| 11187 | function clearContainer(container) { |
| 11188 | if (container.nodeType === ELEMENT_NODE) { |
| 11189 | container.textContent = ''; |
| 11190 | } else if (container.nodeType === DOCUMENT_NODE) { |
| 11191 | if (container.documentElement) { |
| 11192 | container.removeChild(container.documentElement); |
| 11193 | } |
| 11194 | } |
| 11195 | } // ------------------- |
| 11196 | function canHydrateInstance(instance, type, props) { |
| 11197 | if (instance.nodeType !== ELEMENT_NODE || type.toLowerCase() !== instance.nodeName.toLowerCase()) { |
| 11198 | return null; |
no test coverage detected
searching dependent graphs…