MCPcopy Index your code
hub / github.com/caike/jQuery-Simple-Timer / dir

Function dir

examples/bundle.js:2987–3000  ·  view source on GitHub ↗
( elem, dir, until )

Source from the content-addressed store, hash-verified

2985
2986
2987var dir = function( elem, dir, until ) {
2988 var matched = [],
2989 truncate = until !== undefined;
2990
2991 while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) {
2992 if ( elem.nodeType === 1 ) {
2993 if ( truncate && jQuery( elem ).is( until ) ) {
2994 break;
2995 }
2996 matched.push( elem );
2997 }
2998 }
2999 return matched;
3000};
3001
3002
3003var siblings = function( n, elem ) {

Callers 1

bundle.jsFile · 0.85

Calls 1

jQueryFunction · 0.85

Tested by

no test coverage detected