Download node_modules/jquery/src/attributes/support.js from Leon4gr45/matomo: direct link, hf CLI and curl.
- Browser
- Download file 786 Bytes
-
https://huggingface.co/spaces/Leon4gr45/matomo/resolve/main/node_modules/jquery/src/attributes/support.js
- Command line
-
hf download hf://spaces/Leon4gr45/matomo/node_modules/jquery/src/attributes/support.js
-
curl -L -o support.js https://huggingface.co/spaces/Leon4gr45/matomo/resolve/main/node_modules/jquery/src/attributes/support.js
786 Bytes
| define( [ | |
| "../var/document", | |
| "../var/support" | |
| ], function( document, support ) { | |
| ; | |
| ( function() { | |
| var input = document.createElement( "input" ), | |
| select = document.createElement( "select" ), | |
| opt = select.appendChild( document.createElement( "option" ) ); | |
| input.type = "checkbox"; | |
| // Support: Android <=4.3 only | |
| // Default value for a checkbox should be "on" | |
| support.checkOn = input.value !== ""; | |
| // Support: IE <=11 only | |
| // Must access selectedIndex to make default options select | |
| support.optSelected = opt.selected; | |
| // Support: IE <=11 only | |
| // An input loses its value after becoming a radio | |
| input = document.createElement( "input" ); | |
| input.value = "t"; | |
| input.type = "radio"; | |
| support.radioValue = input.value === "t"; | |
| } )(); | |
| return support; | |
| } ); | |