MCPcopy
hub / github.com/angular/angular / childrenOf

Function childrenOf

packages/core/test/acceptance/hmr_spec.ts:2431–2441  ·  view source on GitHub ↗
(...nodes: Node[])

Source from the content-addressed store, hash-verified

2429 }
2430
2431 function childrenOf(...nodes: Node[]): Node[] {
2432 const result: Node[] = [];
2433 for (const node of nodes) {
2434 let current: Node | null = node.firstChild;
2435 while (current) {
2436 result.push(current);
2437 current = current.nextSibling;
2438 }
2439 }
2440 return result;
2441 }
2442
2443 function verifyNodesRemainUntouched(root: HTMLElement, exceptions: Node[] = []) {
2444 if (!root) {

Callers 1

hmr_spec.tsFile · 0.85

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…