( elem, dir, until )
| 2452 | find.tokenize = tokenize; |
| 2453 | |
| 2454 | function dir( elem, dir, until ) { |
| 2455 | var matched = [], |
| 2456 | truncate = until !== undefined; |
| 2457 | |
| 2458 | while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { |
| 2459 | if ( elem.nodeType === 1 ) { |
| 2460 | if ( truncate && jQuery( elem ).is( until ) ) { |
| 2461 | break; |
| 2462 | } |
| 2463 | matched.push( elem ); |
| 2464 | } |
| 2465 | } |
| 2466 | return matched; |
| 2467 | } |
| 2468 | |
| 2469 | function siblings( n, elem ) { |
| 2470 | var matched = []; |
no test coverage detected