question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Promise is Error in IE11

See original GitHub issue

I 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:closed
  • Created 6 years ago
  • Comments:17 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
nyurikcommented, Oct 17, 2017

replace (accept, reject) => with function (accept, reject)

1reaction
domoritzcommented, Oct 17, 2017

@nyurik @yhoonkim any idea how we can help?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found