( unmatched, map, filter, context, xml )
| 2407 | } |
| 2408 | |
| 2409 | function condense( unmatched, map, filter, context, xml ) { |
| 2410 | var elem, |
| 2411 | newUnmatched = [], |
| 2412 | i = 0, |
| 2413 | len = unmatched.length, |
| 2414 | mapped = map != null; |
| 2415 | |
| 2416 | for ( ; i < len; i++ ) { |
| 2417 | if ( (elem = unmatched[i]) ) { |
| 2418 | if ( !filter || filter( elem, context, xml ) ) { |
| 2419 | newUnmatched.push( elem ); |
| 2420 | if ( mapped ) { |
| 2421 | map.push( i ); |
| 2422 | } |
| 2423 | } |
| 2424 | } |
| 2425 | } |
| 2426 | |
| 2427 | return newUnmatched; |
| 2428 | } |
| 2429 | |
| 2430 | function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { |
| 2431 | if ( postFilter && !postFilter[ expando ] ) { |
no outgoing calls
no test coverage detected