( unmatched, map, filter, context, xml )
| 2159 | } |
| 2160 | |
| 2161 | function condense( unmatched, map, filter, context, xml ) { |
| 2162 | var elem, |
| 2163 | newUnmatched = [], |
| 2164 | i = 0, |
| 2165 | len = unmatched.length, |
| 2166 | mapped = map != null; |
| 2167 | |
| 2168 | for ( ; i < len; i++ ) { |
| 2169 | if ( (elem = unmatched[i]) ) { |
| 2170 | if ( !filter || filter( elem, context, xml ) ) { |
| 2171 | newUnmatched.push( elem ); |
| 2172 | if ( mapped ) { |
| 2173 | map.push( i ); |
| 2174 | } |
| 2175 | } |
| 2176 | } |
| 2177 | } |
| 2178 | |
| 2179 | return newUnmatched; |
| 2180 | } |
| 2181 | |
| 2182 | function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { |
| 2183 | if ( postFilter && !postFilter[ expando ] ) { |
no outgoing calls
no test coverage detected