( unmatched, map, filter, context, xml )
| 2176 | } |
| 2177 | |
| 2178 | function condense( unmatched, map, filter, context, xml ) { |
| 2179 | var elem, |
| 2180 | newUnmatched = [], |
| 2181 | i = 0, |
| 2182 | len = unmatched.length, |
| 2183 | mapped = map != null; |
| 2184 | |
| 2185 | for ( ; i < len; i++ ) { |
| 2186 | if ( (elem = unmatched[i]) ) { |
| 2187 | if ( !filter || filter( elem, context, xml ) ) { |
| 2188 | newUnmatched.push( elem ); |
| 2189 | if ( mapped ) { |
| 2190 | map.push( i ); |
| 2191 | } |
| 2192 | } |
| 2193 | } |
| 2194 | } |
| 2195 | |
| 2196 | return newUnmatched; |
| 2197 | } |
| 2198 | |
| 2199 | function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { |
| 2200 | if ( postFilter && !postFilter[ expando ] ) { |
no outgoing calls
no test coverage detected