lix-website/themes/lix/assets/bootstrap/node_modules/abort-controller/browser.mjs

12 lines
337 B
JavaScript
Raw Normal View History

2024-04-27 03:39:10 +00:00
/*globals self, window */
/*eslint-disable @mysticatea/prettier */
const { AbortController, AbortSignal } =
typeof self !== "undefined" ? self :
typeof window !== "undefined" ? window :
/* otherwise */ undefined
/*eslint-enable @mysticatea/prettier */
export default AbortController
export { AbortController, AbortSignal }