( unmatched, map, filter, context, xml )
| 1623 | } |
| 1624 | |
| 1625 | function condense( unmatched, map, filter, context, xml ) { |
| 1626 | var elem, |
| 1627 | newUnmatched = [], |
| 1628 | i = 0, |
| 1629 | len = unmatched.length, |
| 1630 | mapped = map != null; |
| 1631 | |
| 1632 | for ( ; i < len; i++ ) { |
| 1633 | if ( (elem = unmatched[i]) ) { |
| 1634 | if ( !filter || filter( elem, context, xml ) ) { |
| 1635 | newUnmatched.push( elem ); |
| 1636 | if ( mapped ) { |
| 1637 | map.push( i ); |
| 1638 | } |
| 1639 | } |
| 1640 | } |
| 1641 | } |
| 1642 | |
| 1643 | return newUnmatched; |
| 1644 | } |
| 1645 | |
| 1646 | function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { |
| 1647 | if ( postFilter && !postFilter[ expando ] ) { |
no outgoing calls
no test coverage detected