( unmatched, map, filter, context, xml )
| 2027 | } |
| 2028 | |
| 2029 | function condense( unmatched, map, filter, context, xml ) { |
| 2030 | var elem, |
| 2031 | newUnmatched = [], |
| 2032 | i = 0, |
| 2033 | len = unmatched.length, |
| 2034 | mapped = map != null; |
| 2035 | |
| 2036 | for ( ; i < len; i++ ) { |
| 2037 | if ( ( elem = unmatched[ i ] ) ) { |
| 2038 | if ( !filter || filter( elem, context, xml ) ) { |
| 2039 | newUnmatched.push( elem ); |
| 2040 | if ( mapped ) { |
| 2041 | map.push( i ); |
| 2042 | } |
| 2043 | } |
| 2044 | } |
| 2045 | } |
| 2046 | |
| 2047 | return newUnmatched; |
| 2048 | } |
| 2049 | |
| 2050 | function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { |
| 2051 | if ( postFilter && !postFilter[ jQuery.expando ] ) { |
no outgoing calls
no test coverage detected