( unmatched, map, filter, context, xml )
| 2124 | } |
| 2125 | |
| 2126 | function condense( unmatched, map, filter, context, xml ) { |
| 2127 | var elem, |
| 2128 | newUnmatched = [], |
| 2129 | i = 0, |
| 2130 | len = unmatched.length, |
| 2131 | mapped = map != null; |
| 2132 | |
| 2133 | for ( ; i < len; i++ ) { |
| 2134 | if ( (elem = unmatched[i]) ) { |
| 2135 | if ( !filter || filter( elem, context, xml ) ) { |
| 2136 | newUnmatched.push( elem ); |
| 2137 | if ( mapped ) { |
| 2138 | map.push( i ); |
| 2139 | } |
| 2140 | } |
| 2141 | } |
| 2142 | } |
| 2143 | |
| 2144 | return newUnmatched; |
| 2145 | } |
| 2146 | |
| 2147 | function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { |
| 2148 | if ( postFilter && !postFilter[ expando ] ) { |
no outgoing calls
no test coverage detected