( matchers )
| 2191 | } |
| 2192 | |
| 2193 | function elementMatcher( matchers ) { |
| 2194 | return matchers.length > 1 ? |
| 2195 | function( elem, context, xml ) { |
| 2196 | var i = matchers.length; |
| 2197 | while ( i-- ) { |
| 2198 | if ( !matchers[i]( elem, context, xml ) ) { |
| 2199 | return false; |
| 2200 | } |
| 2201 | } |
| 2202 | return true; |
| 2203 | } : |
| 2204 | matchers[0]; |
| 2205 | } |
| 2206 | |
| 2207 | function multipleContexts( selector, contexts, results ) { |
| 2208 | var i = 0, |