MCPcopy Create free account
hub / github.com/TruthHun/BookStack / siblings

Function siblings

static/jquery/1.12.4/jquery.js:2743–2753  ·  view source on GitHub ↗
( n, elem )

Source from the content-addressed store, hash-verified

2741
2742
2743var siblings = function( n, elem ) {
2744 var matched = [];
2745
2746 for ( ; n; n = n.nextSibling ) {
2747 if ( n.nodeType === 1 && n !== elem ) {
2748 matched.push( n );
2749 }
2750 }
2751
2752 return matched;
2753};
2754
2755
2756var rneedsContext = jQuery.expr.match.needsContext;

Callers 1

jquery.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected