( matchers )
| 2230 | } |
| 2231 | |
| 2232 | function elementMatcher( matchers ) { |
| 2233 | return matchers.length > 1 ? |
| 2234 | function( elem, context, xml ) { |
| 2235 | var i = matchers.length; |
| 2236 | while ( i-- ) { |
| 2237 | if ( !matchers[i]( elem, context, xml ) ) { |
| 2238 | return false; |
| 2239 | } |
| 2240 | } |
| 2241 | return true; |
| 2242 | } : |
| 2243 | matchers[0]; |
| 2244 | } |
| 2245 | |
| 2246 | function multipleContexts( selector, contexts, results ) { |
| 2247 | var i = 0, |