MCPcopy Index your code
hub / github.com/JsAaron/jQuery / getAll

Function getAll

2.0.3/Dom.js:851–859  ·  view source on GitHub ↗
(context, tag)

Source from the content-addressed store, hash-verified

849
850
851 function getAll(context, tag) {
852 var ret = context.getElementsByTagName ? context.getElementsByTagName(tag || "*") :
853 context.querySelectorAll ? context.querySelectorAll(tag || "*") :
854 [];
855
856 return tag === undefined || tag && jQuery.nodeName(context, tag) ?
857 jQuery.merge([context], ret) :
858 ret;
859 }
860
861 // Support: IE >= 9
862

Callers 1

Dom.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected