-
Notifications
You must be signed in to change notification settings - Fork 407
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure airtable.js browser build works
- Regenerate the the airtable.browser.js via grunt and ensure that it works via the python server - Replace `node-fetch` and `abort-controller` packages with the build in versions on the window for the browser build - Maybe they should instead be replace by polyfills. There is a lack of clarity of what browsers needs to be supported. - Both fetch and abortController are widely supported by many browsers so I think the polyfills can be skipped. https://developer.mozilla.org/en-US/docs/Web/API/AbortController#Browser_compatibility https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API#Browser_compatibility
- Loading branch information
Showing
6 changed files
with
5,628 additions
and
75,705 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
var AbortController = require('abort-controller'); | ||
|
||
// istanbul ignore next | ||
module.exports = typeof window === 'undefined' ? AbortController : window.AbortController; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
var fetch = require('node-fetch'); | ||
|
||
// istanbul ignore next | ||
module.exports = typeof window === 'undefined' ? fetch : window.fetch; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.