Download node_modules/jquery/src/css/var/getStyles.js from Leon4gr45/matomo: direct link, hf CLI and curl.
- Browser
- Download file 409 Bytes
-
https://huggingface.co/spaces/Leon4gr45/matomo/resolve/main/node_modules/jquery/src/css/var/getStyles.js
- Command line
-
hf download hf://spaces/Leon4gr45/matomo/node_modules/jquery/src/css/var/getStyles.js
-
curl -L -o getStyles.js https://huggingface.co/spaces/Leon4gr45/matomo/resolve/main/node_modules/jquery/src/css/var/getStyles.js
409 Bytes
| define( function() { | |
| "use strict"; | |
| return function( elem ) { | |
| // Support: IE <=11 only, Firefox <=30 (trac-15098, trac-14150) | |
| // IE throws on elements created in popups | |
| // FF meanwhile throws on frame elements through "defaultView.getComputedStyle" | |
| var view = elem.ownerDocument.defaultView; | |
| if ( !view || !view.opener ) { | |
| view = window; | |
| } | |
| return view.getComputedStyle( elem ); | |
| }; | |
| } ); | |