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