( matchers )
| 2110 | } |
| 2111 | |
| 2112 | function elementMatcher( matchers ) { |
| 2113 | return matchers.length > 1 ? |
| 2114 | function( elem, context, xml ) { |
| 2115 | var i = matchers.length; |
| 2116 | while ( i-- ) { |
| 2117 | if ( !matchers[i]( elem, context, xml ) ) { |
| 2118 | return false; |
| 2119 | } |
| 2120 | } |
| 2121 | return true; |
| 2122 | } : |
| 2123 | matchers[0]; |
| 2124 | } |
| 2125 | |
| 2126 | function condense( unmatched, map, filter, context, xml ) { |
| 2127 | var elem, |