MCPcopy Create free account
hub / github.com/WebReflection/neverland / find

Function find

index.js:544–553  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

542 /*! (c) Andrea Giammarchi - ISC */
543
544 var find = function find(node) {
545 var firstChild = node.firstChild;
546
547 while (firstChild && firstChild.nodeType !== 1) {
548 firstChild = firstChild.nextSibling;
549 }
550
551 if (firstChild) return firstChild;
552 throw 'unobservable';
553 };
554
555 var observe = disconnected({
556 Event: CustomEvent$1,

Callers 1

observerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected