Download node_modules/jquery/src/manipulation/getAll.js from Leon4gr45/matomo: direct link, hf CLI and curl.
- Browser
- Download file 654 Bytes
-
https://huggingface.co/spaces/Leon4gr45/matomo/resolve/main/node_modules/jquery/src/manipulation/getAll.js
- Command line
-
hf download hf://spaces/Leon4gr45/matomo/node_modules/jquery/src/manipulation/getAll.js
-
curl -L -o getAll.js https://huggingface.co/spaces/Leon4gr45/matomo/resolve/main/node_modules/jquery/src/manipulation/getAll.js
654 Bytes
| define( [ | |
| "../core", | |
| "../core/nodeName" | |
| ], function( jQuery, nodeName ) { | |
| ; | |
| function getAll( context, tag ) { | |
| // Support: IE <=9 - 11 only | |
| // Use typeof to avoid zero-argument method invocation on host objects (trac-15151) | |
| var ret; | |
| if ( typeof context.getElementsByTagName !== "undefined" ) { | |
| ret = context.getElementsByTagName( tag || "*" ); | |
| } else if ( typeof context.querySelectorAll !== "undefined" ) { | |
| ret = context.querySelectorAll( tag || "*" ); | |
| } else { | |
| ret = []; | |
| } | |
| if ( tag === undefined || tag && nodeName( context, tag ) ) { | |
| return jQuery.merge( [ context ], ret ); | |
| } | |
| return ret; | |
| } | |
| return getAll; | |
| } ); | |