MCPcopy Create free account
hub / github.com/TanaStudy/Java-Study / dir

Function dir

5. SpringMVC/springmvc-06-ajax/web/static/js/jquery-3.6.0.js:2996–3009  ·  view source on GitHub ↗
( elem, dir, until )

Source from the content-addressed store, hash-verified

2994
2995
2996 var dir = function( elem, dir, until ) {
2997 var matched = [],
2998 truncate = until !== undefined;
2999
3000 while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) {
3001 if ( elem.nodeType === 1 ) {
3002 if ( truncate && jQuery( elem ).is( until ) ) {
3003 break;
3004 }
3005 matched.push( elem );
3006 }
3007 }
3008 return matched;
3009 };
3010
3011
3012 var siblings = function( n, elem ) {

Callers 1

jquery-3.6.0.jsFile · 0.70

Calls 2

jQueryFunction · 0.70
pushMethod · 0.45

Tested by

no test coverage detected