MCPcopy Create free account
hub / github.com/idank/explainshell / sibling

Function sibling

explainshell/web/static/js/jquery.js:5680–5686  ·  view source on GitHub ↗
( cur, dir )

Source from the content-addressed store, hash-verified

5678jQuery.fn.andSelf = jQuery.fn.addBack;
5679
5680function sibling( cur, dir ) {
5681 do {
5682 cur = cur[ dir ];
5683 } while ( cur && cur.nodeType !== 1 );
5684
5685 return cur;
5686}
5687
5688jQuery.each({
5689 parent: function( elem ) {

Callers 1

jquery.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected