Quantumbraid's picture
download
raw
438 Bytes
import matches from './matches';
export default function collectSiblings(node, refNode, selector) {
if (refNode === void 0) {
refNode = null;
}
if (selector === void 0) {
selector = null;
}
var siblings = [];
for (; node; node = node.nextElementSibling) {
if (node !== refNode) {
if (selector && matches(node, selector)) {
break;
}
siblings.push(node);
}
}
return siblings;
}

Xet Storage Details

Size:
438 Bytes
·
Xet hash:
3bad8aad58b8e72de0973ff798a3cdcfd30c0e9093a917b97daec76c9c21b406

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.