MCPcopy
hub / github.com/jquery/jquery / sibling

Function sibling

src/traversing.js:104–107  ·  view source on GitHub ↗
( cur, dir )

Source from the content-addressed store, hash-verified

102} );
103
104function sibling( cur, dir ) {
105 while ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {}
106 return cur;
107}
108
109jQuery.each( {
110 parent: function( elem ) {

Callers 1

traversing.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected