Download node_modules/abort-controller/polyfill.js from HarshvardhanCn01/Voice-Assistant: direct link, hf CLI and curl.
- Browser
- Download file 558 Bytes
-
https://huggingface.co/spaces/HarshvardhanCn01/Voice-Assistant/resolve/main/node_modules/abort-controller/polyfill.js
- Command line
-
hf download hf://spaces/HarshvardhanCn01/Voice-Assistant/node_modules/abort-controller/polyfill.js
-
curl -L -o polyfill.js https://huggingface.co/spaces/HarshvardhanCn01/Voice-Assistant/resolve/main/node_modules/abort-controller/polyfill.js
558 Bytes
| /*globals require, self, window */ | |
| const ac = require("./dist/abort-controller") | |
| /*eslint-disable @mysticatea/prettier */ | |
| const g = | |
| typeof self !== "undefined" ? self : | |
| typeof window !== "undefined" ? window : | |
| typeof global !== "undefined" ? global : | |
| /* otherwise */ undefined | |
| /*eslint-enable @mysticatea/prettier */ | |
| if (g) { | |
| if (typeof g.AbortController === "undefined") { | |
| g.AbortController = ac.AbortController | |
| } | |
| if (typeof g.AbortSignal === "undefined") { | |
| g.AbortSignal = ac.AbortSignal | |
| } | |
| } | |