(node: ChildNode | null)
| 756 | } |
| 757 | |
| 758 | function skipTextNodes(node: ChildNode | null): ChildNode | null { |
| 759 | // Ignore whitespace. Before the <body>, we shouldn't find text nodes that aren't whitespace. |
| 760 | while (node && node.nodeType === Node.TEXT_NODE) { |
| 761 | node = node.previousSibling; |
| 762 | } |
| 763 | return node; |
| 764 | } |
| 765 | |
| 766 | /** |
| 767 | * Verifies whether the DOM contains a special marker added during SSR time to make sure |
no outgoing calls
no test coverage detected
searching dependent graphs…