Download web/client/node_modules/@vue/devtools-api/lib/esm/env.js from amitesh11/pose: direct link, hf CLI and curl.
- Browser
- Download file 457 Bytes
-
https://huggingface.co/spaces/amitesh11/pose/resolve/main/web/client/node_modules/%40vue/devtools-api/lib/esm/env.js
- Command line
-
hf download hf://spaces/amitesh11/pose/web/client/node_modules/@vue/devtools-api/lib/esm/env.js
-
curl -L -o env.js https://huggingface.co/spaces/amitesh11/pose/resolve/main/web/client/node_modules/%40vue/devtools-api/lib/esm/env.js
457 Bytes
| export function getDevtoolsGlobalHook() { | |
| return getTarget().__VUE_DEVTOOLS_GLOBAL_HOOK__; | |
| } | |
| export 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 | |
| : {}; | |
| } | |
| export const isProxyAvailable = typeof Proxy === 'function'; | |