( matchers )
| 2490 | } |
| 2491 | |
| 2492 | function elementMatcher( matchers ) { |
| 2493 | return matchers.length > 1 ? |
| 2494 | function( elem, context, xml ) { |
| 2495 | var i = matchers.length; |
| 2496 | while ( i-- ) { |
| 2497 | if ( !matchers[i]( elem, context, xml ) ) { |
| 2498 | return false; |
| 2499 | } |
| 2500 | } |
| 2501 | return true; |
| 2502 | } : |
| 2503 | matchers[0]; |
| 2504 | } |
| 2505 | |
| 2506 | function multipleContexts( selector, contexts, results ) { |
| 2507 | var i = 0, |