( context, tag )
| 4764 | wrapMap.th = wrapMap.td; |
| 4765 | |
| 4766 | function getAll( context, tag ) { |
| 4767 | |
| 4768 | // Support: IE <=9 - 11+ |
| 4769 | // Use typeof to avoid zero-argument method invocation on host objects (trac-15151) |
| 4770 | var ret; |
| 4771 | |
| 4772 | if ( typeof context.getElementsByTagName !== "undefined" ) { |
| 4773 | |
| 4774 | // Use slice to snapshot the live collection from gEBTN |
| 4775 | ret = arr.slice.call( context.getElementsByTagName( tag || "*" ) ); |
| 4776 | |
| 4777 | } else if ( typeof context.querySelectorAll !== "undefined" ) { |
| 4778 | ret = context.querySelectorAll( tag || "*" ); |
| 4779 | |
| 4780 | } else { |
| 4781 | ret = []; |
| 4782 | } |
| 4783 | |
| 4784 | if ( tag === undefined || tag && nodeName( context, tag ) ) { |
| 4785 | return jQuery.merge( [ context ], ret ); |
| 4786 | } |
| 4787 | |
| 4788 | return ret; |
| 4789 | } |
| 4790 | |
| 4791 | var rscriptType = /^$|^module$|\/(?:java|ecma)script/i; |
| 4792 |
no test coverage detected