MCPcopy Index your code
hub / github.com/shipshapecode/tether / getAll

Function getAll

docs/welcome/js/jquery.js:6352–6372  ·  view source on GitHub ↗
( context, tag )

Source from the content-addressed store, hash-verified

6350});
6351
6352function getAll( context, tag ) {
6353 var elems, elem,
6354 i = 0,
6355 found = typeof context.getElementsByTagName !== core_strundefined ? context.getElementsByTagName( tag || "*" ) :
6356 typeof context.querySelectorAll !== core_strundefined ? context.querySelectorAll( tag || "*" ) :
6357 undefined;
6358
6359 if ( !found ) {
6360 for ( found = [], elems = context.childNodes || context; (elem = elems[i]) != null; i++ ) {
6361 if ( !tag || jQuery.nodeName( elem, tag ) ) {
6362 found.push( elem );
6363 } else {
6364 jQuery.merge( found, getAll( elem, tag ) );
6365 }
6366 }
6367 }
6368
6369 return tag === undefined || tag && jQuery.nodeName( context, tag ) ?
6370 jQuery.merge( [ context ], found ) :
6371 found;
6372}
6373
6374// Used in buildFragment, fixes the defaultChecked property
6375function fixDefaultChecked( elem ) {

Callers 1

jquery.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…