D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
alt-nodejs19
/
root
/
usr
/
lib
/
node_modules
/
npm
/
node_modules
/
abort-controller
/
Filename :
polyfill.mjs
back
Copy
/*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 } }