IE11 onOpen: () syntax error
See original GitHub issueUsing v7.4.0 and the polyfill for ES6 promises for IE11. Attempting to use the showLoading() spinner example as per the docs, but the following line results in a syntax error and breaks the rest of my JS.
onOpen: () => {
I realise ‘nobody uses IE’ anymore. Unfortunately some of our clients have no choice due to legacy software.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:7 (4 by maintainers)
Top Results From Across the Web
System js syntax error, IE11 - javascript - Stack Overflow
your are getting a SyntaxError, so no polyfill will help. Polyfills can add missing functions/objects to older browsers, like: Map, Set, Array.
Read more >SCRIPT1002: Syntax error in IE11 - Soft8Soft
Hi,. The logic doesn't work when loading the 3D in IE11 and it gives a Script1002 error. Please see attached screenshots.
Read more >execution of script as a function is not supported
The following is the basic syntax to create MySQL User-defined function. ... Learn how to fix the "replaceAll() is not a function" JavaScript...
Read more >Any good guides on getting my app to run well in IE11? - Reddit
You open your app in IE11. Open the console. Check exactly where it broke. It (most likely) says „Syntax error“ or something is...
Read more >how to download file in internet explorer using selenium
Uploading files in WebDriver is done by simply using the sendKeys() method on the ... how to click on open/save/cancel button on ie...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Hi @venkymadurai the lack of fat arrow functions support in IE doesn’t have anything to do SweetAlert2. In our examples we just use the latest version of JS specification, and the browser compatibility should be part of background skills for a JS developer.
Try
onOpen: function() {instead.