Download web/client/node_modules/@vue/devtools-api/lib/cjs/env.js from amitesh11/pose: direct link, hf CLI and curl.
- Browser
- Download file 688 Bytes
-
https://huggingface.co/spaces/amitesh11/pose/resolve/main/web/client/node_modules/%40vue/devtools-api/lib/cjs/env.js
- Command line
-
hf download hf://spaces/amitesh11/pose/web/client/node_modules/@vue/devtools-api/lib/cjs/env.js
-
curl -L -o env.js https://huggingface.co/spaces/amitesh11/pose/resolve/main/web/client/node_modules/%40vue/devtools-api/lib/cjs/env.js
688 Bytes
| ; | |
| Object.defineProperty(exports, "__esModule", { value: true }); | |
| exports.isProxyAvailable = exports.getTarget = exports.getDevtoolsGlobalHook = void 0; | |
| function getDevtoolsGlobalHook() { | |
| return getTarget().__VUE_DEVTOOLS_GLOBAL_HOOK__; | |
| } | |
| exports.getDevtoolsGlobalHook = getDevtoolsGlobalHook; | |
| function getTarget() { | |
| // @ts-expect-error navigator and windows are not available in all environments | |
| return (typeof navigator !== 'undefined' && typeof window !== 'undefined') | |
| ? window | |
| : typeof globalThis !== 'undefined' | |
| ? globalThis | |
| : {}; | |
| } | |
| exports.getTarget = getTarget; | |
| exports.isProxyAvailable = typeof Proxy === 'function'; | |