Spaces:
Sleeping
Sleeping
Download frontend/node_modules/@sinonjs/commons/lib/global.js from sepidnes/pythonic-rag-FastAPIReact: direct link, hf CLI and curl.
- Browser
- Download file 386 Bytes
-
https://huggingface.co/spaces/sepidnes/pythonic-rag-FastAPIReact/resolve/94e32638a275d46bc1ba62feac204fcaaf313da4/frontend/node_modules/%40sinonjs/commons/lib/global.js
- Command line
-
hf download hf://spaces/sepidnes/pythonic-rag-FastAPIReact@94e32638a275d46bc1ba62feac204fcaaf313da4/frontend/node_modules/@sinonjs/commons/lib/global.js
-
curl -L -o global.js https://huggingface.co/spaces/sepidnes/pythonic-rag-FastAPIReact/resolve/94e32638a275d46bc1ba62feac204fcaaf313da4/frontend/node_modules/%40sinonjs/commons/lib/global.js
386 Bytes
| ; | |
| /** | |
| * A reference to the global object | |
| * | |
| * @type {object} globalObject | |
| */ | |
| var globalObject; | |
| /* istanbul ignore else */ | |
| if (typeof global !== "undefined") { | |
| // Node | |
| globalObject = global; | |
| } else if (typeof window !== "undefined") { | |
| // Browser | |
| globalObject = window; | |
| } else { | |
| // WebWorker | |
| globalObject = self; | |
| } | |
| module.exports = globalObject; | |