Promise is Error in IE11
See original GitHub issueI use vega and vega-embed.js older version, it work very well.
I update vega to 3.05 and vega-embed to 3.0.0-beta.19, an error happend at line 1196 in 3.0.0-beta.19/vega-embed.js. I found the same error from 3.0.0-beta.19 to 3.0.0-beta.19 22.
function embedMain(el, spec, opt) {
// Ensure any exceptions will be properly handled
return new Promise((accept, reject) => {
embed(el, spec, opt).then(accept, reject);
});
}
Issue Analytics
- State:
- Created 6 years ago
- Comments:17 (12 by maintainers)
Top Results From Across the Web
How to support promises in Internet Explorer 11?
IE11 neither supports arrow functions nor native Promises. Use a JS transpiler (like babel) or don't use ES6 features. For Promise support you ......
Read more >'Promise' is undefined in Internet Explorer (IE 11) - Syncfusion
Hi! Trying to run a .NET Core 2.0 Web App with Syncfusion J2 Controls (Grid/Schedule etc.) and keep getting the following error only...
Read more >"'Promise' is undefined" error in IE11 even though targeting ES5
Fails in IE 11 with error SCRIPT5009: 'Promise' is undefined . Only works in IE 11 if bluebird.min.js script element is uncommented.
Read more >Raise MW JS requirement to include ES6 Promise (drop IE11 ...
Raise MW JS requirement to include ES6 Promise (drop IE11, Safari 5-6, and Android 4.1-4.3) ... Deferred errors in client side error logging...
Read more >Promises | Can I use... Support tables for HTML5, CSS3, etc
A promise represents the eventual result of an asynchronous operation. Usage % of. all users, all tracked, tracked desktop, tracked mobile.
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
replace
(accept, reject) =>
withfunction (accept, reject)
@nyurik @yhoonkim any idea how we can help?