Open Mammouth1979 opened 6 years ago
So. Much. This. I've spent hours attempting to find a solution for this. Thank you for figuring it out!
We discussed changing the documentation to a IE11 friendly version here. I can tell that there has been quite a lot of confusion about the usage of arrow function in the documentation (probably due to the fact of people just copy/pasting examples into their projects without transpiling).
I would recommend adding a warning next to the examples that use arrow functions indicating that you would need to change () => { }
to function () { }
in case you need to support browsers that don't support arrow functions.
What are your thoughts @t4t5?
Thank you so much after spending a lot time finally its works for me!!
did somebody found a solution to this? This actually make my whole application to broke on IE11. I'm using babel transpiler but for some reason there are still some arrow function on the final code if I include "sweatalert".
=> { is not supported by IE and out of date safari. It block entire page to display.
In sample code
.then((result) => {
should be replaced by
.then(function(result){