( context, tag )
| 4337 | wrapMap.th = wrapMap.td; |
| 4338 | |
| 4339 | function getAll( context, tag ) { |
| 4340 | |
| 4341 | // Support: IE <=9 - 11+ |
| 4342 | // Use typeof to avoid zero-argument method invocation on host objects (trac-15151) |
| 4343 | var ret; |
| 4344 | |
| 4345 | if ( typeof context.getElementsByTagName !== "undefined" ) { |
| 4346 | |
| 4347 | // Use slice to snapshot the live collection from gEBTN |
| 4348 | ret = arr.slice.call( context.getElementsByTagName( tag || "*" ) ); |
| 4349 | |
| 4350 | } else if ( typeof context.querySelectorAll !== "undefined" ) { |
| 4351 | ret = context.querySelectorAll( tag || "*" ); |
| 4352 | |
| 4353 | } else { |
| 4354 | ret = []; |
| 4355 | } |
| 4356 | |
| 4357 | if ( tag === undefined || tag && nodeName( context, tag ) ) { |
| 4358 | return jQuery.merge( [ context ], ret ); |
| 4359 | } |
| 4360 | |
| 4361 | return ret; |
| 4362 | } |
| 4363 | |
| 4364 | var rscriptType = /^$|^module$|\/(?:java|ecma)script/i; |
| 4365 |
no test coverage detected