Download node_modules/abort-controller/polyfill.mjs from codebydante/extension-fish: direct link, hf CLI and curl.
- Browser
- Download file 535 Bytes
-
https://huggingface.co/datasets/codebydante/extension-fish/resolve/eefe2da4821d1138463587175c19243b0c225981/node_modules/abort-controller/polyfill.mjs
- Command line
-
hf download hf://datasets/codebydante/extension-fish@eefe2da4821d1138463587175c19243b0c225981/node_modules/abort-controller/polyfill.mjs
-
curl -L -o polyfill.mjs https://huggingface.co/datasets/codebydante/extension-fish/resolve/eefe2da4821d1138463587175c19243b0c225981/node_modules/abort-controller/polyfill.mjs
535 Bytes
| /*globals self, window */ | |
| import * as ac from "./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 | |
| } | |
| } | |