visjs / vis-network

:dizzy: Display dynamic, automatically organised, customizable network views.
https://visjs.github.io/vis-network/
Apache License 2.0
2.99k stars 365 forks source link

The script does not work in internet explorer #2144

Open xaozai opened 5 months ago

xaozai commented 5 months ago

This script does not work in Internet Explorer [which is installed by default in Windows Server 2019]. It does not work because it uses MS-reserved names, such as default, catch, finally, return etc. For example: Object.prototype.hasOwnProperty.call(g,"default")?g.default, return:function(){jo=!0}};, if(!wk.catch||!wk.finally)return!0;. All such names should be framed with single quotes.

All these errors are displayed in the developer Tools console built into IE.