Open adadgio opened 8 years ago
Just to confirm what I'v said, i have replaced the fetchival Ajax code by a random library (https://github.com/yanatan16/nanoajax), and it works in Safari.
fetchival is base on window.fetch
// Expose fetch so that other polyfills can be used
// Bind fetch to window to avoid TypeError: Illegal invocation
fetchival.fetch = typeof fetch !== 'undefined' ? fetch.bind(window) : null
Safari is not support fetch
Hi @adadgio,
fetchival
doesn't come with fetch
polyfill, but you can use the following command and you should have everything you need ;)
npm install es6-promise whatwg-fetch --save # polyfills
npm install fetchival --save
I suspect something inside a Promise is not working inside fetchival. Its is not working with Version 9.1.3, and no error messages are shown. The promise never gest fulfilled.
Code example bellow (work on Chrome and Firefox).