Reputation: 3673
I've created a simple widget for Team Services dashboard.
It works perfectly fine on Firefox, with 0 errors in the console. But the widget fails to load on IE. The only error I get is:
What are some possible reasons for this? FYI, I'm running IE 11.0.9600.18282
Upvotes: 1
Views: 42
Reputation: 3673
I've solved this, though I'm not entirely sure what I did fixed it. Here's a list of the things I changed. Some may be unrelated. Other may have solved the problem.
<!DOCTYPE html>
at the start of the document header<meta http-equiv="X-UA-Compatible" content="IE=edge">
tagAfter doing the above steps, it looks like my html started being read, and I started getting more useful error messages like my use of Promise
and Math.max(...array)
syntax.
After adding the relevant polyfills and IE 11 supported syntax everything now works.
Upvotes: 1