MCPcopy Create free account
hub / github.com/angular/angular / markNodesAsCreatedInitially

Function markNodesAsCreatedInitially

packages/core/test/acceptance/hmr_spec.ts:2395–2404  ·  view source on GitHub ↗
(root: HTMLElement)

Source from the content-addressed store, hash-verified

2393 }
2394
2395 function markNodesAsCreatedInitially(root: HTMLElement) {
2396 let current: Node | null = root;
2397 while (current) {
2398 setMarker(current);
2399 if (current.firstChild) {
2400 markNodesAsCreatedInitially(current.firstChild as HTMLElement);
2401 }
2402 current = current.nextSibling;
2403 }
2404 }
2405
2406 function childrenOf(...nodes: Node[]): Node[] {
2407 const result: Node[] = [];

Callers 1

hmr_spec.tsFile · 0.85

Calls 1

setMarkerFunction · 0.85

Tested by

no test coverage detected