(instance, text, inRootOrSingleton)
| 16983 | return null; |
| 16984 | } |
| 16985 | function canHydrateTextInstance(instance, text, inRootOrSingleton) { |
| 16986 | if ("" === text) return null; |
| 16987 | for (; 3 !== instance.nodeType; ) { |
| 16988 | if ( |
| 16989 | (1 !== instance.nodeType || |
| 16990 | "INPUT" !== instance.nodeName || |
| 16991 | "hidden" !== instance.type) && |
| 16992 | !inRootOrSingleton |
| 16993 | ) |
| 16994 | return null; |
| 16995 | instance = getNextHydratable(instance.nextSibling); |
| 16996 | if (null === instance) return null; |
| 16997 | } |
| 16998 | return instance; |
| 16999 | } |
| 17000 | function getNextHydratable(node) { |
| 17001 | for (; null != node; node = node.nextSibling) { |
| 17002 | var nodeType = node.nodeType; |
no test coverage detected
searching dependent graphs…