( matchers )
| 2153 | } |
| 2154 | |
| 2155 | function elementMatcher( matchers ) { |
| 2156 | return matchers.length > 1 ? |
| 2157 | function( elem, context, xml ) { |
| 2158 | var i = matchers.length; |
| 2159 | while ( i-- ) { |
| 2160 | if ( !matchers[i]( elem, context, xml ) ) { |
| 2161 | return false; |
| 2162 | } |
| 2163 | } |
| 2164 | return true; |
| 2165 | } : |
| 2166 | matchers[0]; |
| 2167 | } |
| 2168 | |
| 2169 | function multipleContexts( selector, contexts, results ) { |
| 2170 | var i = 0, |