Download node_modules/jquery/src/core/camelCase.js from Leon4gr45/matomo: direct link, hf CLI and curl.
- Browser
- Download file 550 Bytes
-
https://huggingface.co/spaces/Leon4gr45/matomo/resolve/main/node_modules/jquery/src/core/camelCase.js
- Command line
-
hf download hf://spaces/Leon4gr45/matomo/node_modules/jquery/src/core/camelCase.js
-
curl -L -o camelCase.js https://huggingface.co/spaces/Leon4gr45/matomo/resolve/main/node_modules/jquery/src/core/camelCase.js
550 Bytes
| define( [], function() { | |
| ; | |
| // Matches dashed string for camelizing | |
| var rmsPrefix = /^-ms-/, | |
| rdashAlpha = /-([a-z])/g; | |
| // Used by camelCase as callback to replace() | |
| function fcamelCase( _all, letter ) { | |
| return letter.toUpperCase(); | |
| } | |
| // Convert dashed to camelCase; used by the css and data modules | |
| // Support: IE <=9 - 11, Edge 12 - 15 | |
| // Microsoft forgot to hump their vendor prefix (trac-9572) | |
| function camelCase( string ) { | |
| return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); | |
| } | |
| return camelCase; | |
| } ); | |