MCPcopy Index your code
hub / github.com/jquery/jquery / elementMatcher

Function elementMatcher

dist-module/jquery.factory.module.js:1997–2009  ·  view source on GitHub ↗
( matchers )

Source from the content-addressed store, hash-verified

1995}
1996
1997function elementMatcher( matchers ) {
1998 return matchers.length > 1 ?
1999 function( elem, context, xml ) {
2000 var i = matchers.length;
2001 while ( i-- ) {
2002 if ( !matchers[ i ]( elem, context, xml ) ) {
2003 return false;
2004 }
2005 }
2006 return true;
2007 } :
2008 matchers[ 0 ];
2009}
2010
2011function multipleContexts( selector, contexts, results ) {
2012 var i = 0,

Callers 1

matcherFromTokensFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected