abort-controller icon indicating copy to clipboard operation
abort-controller copied to clipboard

fix: correct browser export to match node export

Open jacobheun opened this issue 4 years ago • 1 comments

If you currently attempt to import AbortController via const { AbortController } = require('abort-controller'), it will work in Node but be undefined in browsers. This updates browser.js to be consistent with the exports from abort-controller.js in the dist folder.

jacobheun avatar May 28 '20 13:05 jacobheun

@mysticatea friendly ping

wemeetagain avatar Jun 17 '21 15:06 wemeetagain