( unmatched, map, filter, context, xml )
| 2140 | } |
| 2141 | |
| 2142 | function condense( unmatched, map, filter, context, xml ) { |
| 2143 | var elem, |
| 2144 | newUnmatched = [], |
| 2145 | i = 0, |
| 2146 | len = unmatched.length, |
| 2147 | mapped = map != null; |
| 2148 | |
| 2149 | for ( ; i < len; i++ ) { |
| 2150 | if ( (elem = unmatched[i]) ) { |
| 2151 | if ( !filter || filter( elem, context, xml ) ) { |
| 2152 | newUnmatched.push( elem ); |
| 2153 | if ( mapped ) { |
| 2154 | map.push( i ); |
| 2155 | } |
| 2156 | } |
| 2157 | } |
| 2158 | } |
| 2159 | |
| 2160 | return newUnmatched; |
| 2161 | } |
| 2162 | |
| 2163 | function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { |
| 2164 | if ( postFilter && !postFilter[ expando ] ) { |
no outgoing calls
no test coverage detected