Forum Discussion
blumi78
8 years agoHelper I
Custom Visual: Using Javascript Promises in Internet Explorer 11
IE 11 still doesn't support ES2015 features like Promises. My default approach here is to use a Polyfill lib, include it in "externalJS" section of pbiviz.json and add "es2015" as lib to tsconfig...
blumi78
8 years agoHelper I
Tried the beta version (@2.0.1) of the powerbi-visuals-tools package. Gives me a "Syntax error" in IE11 right away with the sample visual that you get with "pbiviz new". Other browsers work, though.
If you say, it's safe to use window["Promise"], then I can work with that.
v-viig
8 years agoCommunity Champion
Yeah, window["Promise"] will probably work well.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals