( matchers )
| 2117 | } |
| 2118 | |
| 2119 | function elementMatcher( matchers ) { |
| 2120 | return matchers.length > 1 ? |
| 2121 | function( elem, context, xml ) { |
| 2122 | var i = matchers.length; |
| 2123 | while ( i-- ) { |
| 2124 | if ( !matchers[i]( elem, context, xml ) ) { |
| 2125 | return false; |
| 2126 | } |
| 2127 | } |
| 2128 | return true; |
| 2129 | } : |
| 2130 | matchers[0]; |
| 2131 | } |
| 2132 | |
| 2133 | function multipleContexts( selector, contexts, results ) { |
| 2134 | var i = 0, |