Download public/lib/structured-clone/monkey-patch.js from SCritter/st-mobile: direct link, hf CLI and curl.
- Browser
- Download file 191 Bytes
-
https://huggingface.co/spaces/SCritter/st-mobile/resolve/main/public/lib/structured-clone/monkey-patch.js
- Command line
-
hf download hf://spaces/SCritter/st-mobile/public/lib/structured-clone/monkey-patch.js
-
curl -L -o monkey-patch.js https://huggingface.co/spaces/SCritter/st-mobile/resolve/main/public/lib/structured-clone/monkey-patch.js
191 Bytes
| import structuredClone from './index.js'; | |
| if (!("structuredClone" in globalThis)) { | |
| console.debug("Monkey-patching structuredClone"); | |
| globalThis.structuredClone = structuredClone; | |
| } | |