Sha256: 37249f1e6d732ce95029adac24be0f630efe1da5150d83b5383b898ed2fa3d4e
Contents?: true
Size: 539 Bytes
Versions: 160
Compression:
Stored size: 539 Bytes
Contents
define( [ "../core" ], function( jQuery ) { function getAll( context, tag ) { // Support: IE9-11+ // Use typeof to avoid zero-argument method invocation on host objects (#15151) var ret = typeof context.getElementsByTagName !== "undefined" ? context.getElementsByTagName( tag || "*" ) : typeof context.querySelectorAll !== "undefined" ? context.querySelectorAll( tag || "*" ) : []; return tag === undefined || tag && jQuery.nodeName( context, tag ) ? jQuery.merge( [ context ], ret ) : ret; } return getAll; } );
Version data entries
160 entries across 103 versions & 10 rubygems