Airtable/airtable.js

IE11 - "Unable to get property 'bind' of undefined or null reference"

lynnewritescode opened this issue · 0 comments

Receiving "Unable to get property 'bind' of undefined or null reference" on IE11 when importing Airtable.

Stack trace:

"TypeError: Unable to get property 'bind' of undefined or null reference
   at ./node_modules/airtable/lib/fetch.js (http://localhost:8080/js/npm.airtable.js:458:1)
   at __webpack_require__ (http://localhost:8080/js/runtime.js:854:12)
   at fn (http://localhost:8080/js/runtime.js:151:13)
   at ./node_modules/airtable/lib/base.js (http://localhost:8080/js/npm.airtable.js:156:1)
   at __webpack_require__ (http://localhost:8080/js/runtime.js:854:12)
   at fn (http://localhost:8080/js/runtime.js:151:13)
   at ./node_modules/airtable/lib/airtable.js (http://localhost:8080/js/npm.airtable.js:43:1)
   at __webpack_require__ (http://localhost:8080/js/runtime.js:854:12)
   at fn (http://localhost:8080/js/runtime.js:151:13)
   at ./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./node_modules/vue-svg-inline-loader/src/index.js!./src/views/Map.vue?vue&type=script&lang=js& (http://localhost:8080/js/Map.js:502"

I believe binding fetch to the window was introduced as a fix for issue #235 but it seems to be failing in IE11 now.