MCPcopy
hub / github.com/skatejs/skatejs / S

Function S

site/fills/ce-sd-fill.js:1537–1559  ·  view source on GitHub ↗
(a, b, c)

Source from the content-addressed store, hash-verified

1535 return b && b !== a ? b.nextSibling : null;
1536 }
1537 function S(a, b, c) {
1538 c = c ? c : new Set();
1539 for (var d = a; d; ) {
1540 if (d.nodeType === Node.ELEMENT_NODE) {
1541 var e = d;
1542 b(e);
1543 var f = e.localName;
1544 if ('link' === f && 'import' === e.getAttribute('rel')) {
1545 d = e.import;
1546 if (d instanceof Node && !c.has(d))
1547 for (c.add(d), d = d.firstChild; d; d = d.nextSibling) S(d, b, c);
1548 d = yb(a, e);
1549 continue;
1550 } else if ('template' === f) {
1551 d = yb(a, e);
1552 continue;
1553 }
1554 if ((e = e.__CE_shadowRoot))
1555 for (e = e.firstChild; e; e = e.nextSibling) S(e, b, c);
1556 }
1557 d = d.firstChild ? d.firstChild : yb(a, d);
1558 }
1559 }
1560 function x(a, b, c) {
1561 a[b] = c;
1562 }

Callers 2

bFunction · 0.85
ce-sd-fill.jsFile · 0.85

Calls 3

bFunction · 0.85
ybFunction · 0.85
addMethod · 0.80

Tested by

no test coverage detected