MCPcopy Create free account
hub / github.com/aspnet/AzureSignalR-samples / getAll

Function getAll

aspnet-samples/ChatRoomLocal/Scripts/jquery-3.7.1.js:4699–4720  ·  view source on GitHub ↗
( context, tag )

Source from the content-addressed store, hash-verified

4697
4698
4699function getAll( context, tag ) {
4700
4701 // Support: IE <=9 - 11 only
4702 // Use typeof to avoid zero-argument method invocation on host objects (trac-15151)
4703 var ret;
4704
4705 if ( typeof context.getElementsByTagName !== "undefined" ) {
4706 ret = context.getElementsByTagName( tag || "*" );
4707
4708 } else if ( typeof context.querySelectorAll !== "undefined" ) {
4709 ret = context.querySelectorAll( tag || "*" );
4710
4711 } else {
4712 ret = [];
4713 }
4714
4715 if ( tag === undefined || tag && nodeName( context, tag ) ) {
4716 return jQuery.merge( [ context ], ret );
4717 }
4718
4719 return ret;
4720}
4721
4722
4723// Mark scripts as having already been evaluated

Callers 4

buildFragmentFunction · 0.70
domManipFunction · 0.70
removeFunction · 0.70
jquery-3.7.1.jsFile · 0.70

Calls 1

nodeNameFunction · 0.70

Tested by

no test coverage detected