Skip to content

Commit

Permalink
Merge pull request #380 from NabeelFarooqui-at/NabeelFarooqui-run-pre…
Browse files Browse the repository at this point in the history
…pare-abort-controller-diff

Run browserify tasks for diff in #372
  • Loading branch information
NabeelFarooqui-at authored Aug 7, 2023
2 parents 1b43e7d + d0ed278 commit aa1cd32
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/airtable.browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var browserGlobal = typeof window !== 'undefined' ? window : typeof self !== 'un
if (!browserGlobal) {
AbortController = require('abort-controller');
}
else if ('signal' in new Request('')) {
else if ('signal' in new Request('https://airtable.com')) {
AbortController = browserGlobal.AbortController;
}
else {
Expand Down
2 changes: 1 addition & 1 deletion test/test_files/airtable.browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var browserGlobal = typeof window !== 'undefined' ? window : typeof self !== 'un
if (!browserGlobal) {
AbortController = require('abort-controller');
}
else if ('signal' in new Request('')) {
else if ('signal' in new Request('https://airtable.com')) {
AbortController = browserGlobal.AbortController;
}
else {
Expand Down

0 comments on commit aa1cd32

Please sign in to comment.