( unmatched, map, filter, context, xml )
| 2513 | } |
| 2514 | |
| 2515 | function condense( unmatched, map, filter, context, xml ) { |
| 2516 | var elem, |
| 2517 | newUnmatched = [], |
| 2518 | i = 0, |
| 2519 | len = unmatched.length, |
| 2520 | mapped = map != null; |
| 2521 | |
| 2522 | for ( ; i < len; i++ ) { |
| 2523 | if ( (elem = unmatched[i]) ) { |
| 2524 | if ( !filter || filter( elem, context, xml ) ) { |
| 2525 | newUnmatched.push( elem ); |
| 2526 | if ( mapped ) { |
| 2527 | map.push( i ); |
| 2528 | } |
| 2529 | } |
| 2530 | } |
| 2531 | } |
| 2532 | |
| 2533 | return newUnmatched; |
| 2534 | } |
| 2535 | |
| 2536 | function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { |
| 2537 | if ( postFilter && !postFilter[ expando ] ) { |
no outgoing calls
no test coverage detected