MCPcopy Create free account
hub / github.com/dtmilano/AndroidViewClient / getAll

Function getAll

docs/_static/jquery-3.6.0.js:4965–4986  ·  view source on GitHub ↗
( context, tag )

Source from the content-addressed store, hash-verified

4963
4964
4965function getAll( context, tag ) {
4966
4967 // Support: IE <=9 - 11 only
4968 // Use typeof to avoid zero-argument method invocation on host objects (#15151)
4969 var ret;
4970
4971 if ( typeof context.getElementsByTagName !== "undefined" ) {
4972 ret = context.getElementsByTagName( tag || "*" );
4973
4974 } else if ( typeof context.querySelectorAll !== "undefined" ) {
4975 ret = context.querySelectorAll( tag || "*" );
4976
4977 } else {
4978 ret = [];
4979 }
4980
4981 if ( tag === undefined || tag && nodeName( context, tag ) ) {
4982 return jQuery.merge( [ context ], ret );
4983 }
4984
4985 return ret;
4986}
4987
4988
4989// Mark scripts as having already been evaluated

Callers 4

buildFragmentFunction · 0.85
domManipFunction · 0.85
removeFunction · 0.85
jquery-3.6.0.jsFile · 0.85

Calls 1

nodeNameFunction · 0.85

Tested by

no test coverage detected