MCPcopy Create free account
hub / github.com/TruthHun/BookStack / getAll

Function getAll

static/wangEditor/js/lib/jquery-2.2.1.js:4271–4284  ·  view source on GitHub ↗
( context, tag )

Source from the content-addressed store, hash-verified

4269
4270
4271function getAll( context, tag ) {
4272
4273 // Support: IE9-11+
4274 // Use typeof to avoid zero-argument method invocation on host objects (#15151)
4275 var ret = typeof context.getElementsByTagName !== "undefined" ?
4276 context.getElementsByTagName( tag || "*" ) :
4277 typeof context.querySelectorAll !== "undefined" ?
4278 context.querySelectorAll( tag || "*" ) :
4279 [];
4280
4281 return tag === undefined || tag && jQuery.nodeName( context, tag ) ?
4282 jQuery.merge( [ context ], ret ) :
4283 ret;
4284}
4285
4286
4287// Mark scripts as having already been evaluated

Callers 4

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

Calls

no outgoing calls

Tested by

no test coverage detected