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