( unmatched, map, filter, context, xml )
| 2459 | } |
| 2460 | |
| 2461 | function condense( unmatched, map, filter, context, xml ) { |
| 2462 | var elem, |
| 2463 | newUnmatched = [], |
| 2464 | i = 0, |
| 2465 | len = unmatched.length, |
| 2466 | mapped = map != null; |
| 2467 | |
| 2468 | for ( ; i < len; i++ ) { |
| 2469 | if ( (elem = unmatched[i]) ) { |
| 2470 | if ( !filter || filter( elem, context, xml ) ) { |
| 2471 | newUnmatched.push( elem ); |
| 2472 | if ( mapped ) { |
| 2473 | map.push( i ); |
| 2474 | } |
| 2475 | } |
| 2476 | } |
| 2477 | } |
| 2478 | |
| 2479 | return newUnmatched; |
| 2480 | } |
| 2481 | |
| 2482 | function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { |
| 2483 | if ( postFilter && !postFilter[ expando ] ) { |
no outgoing calls
no test coverage detected