-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in Internet Explorer #270
Comments
Hi @sudoduan, since Internet Explorer is a so ancient and has been abandoned by MS for a long time, we do not run tests on IE anymore currently. Anyway, some usages of new JavaScript syntax can not be recognized by IE has now been fixed. Please check and clone the newly committed code. Please note that the webComponent module is totally unsupported in any versions of IE. So when using the library, please do not include it when loading script by kekule.js. For example, the following HTML code will surely cause loading errors in IE: <script src="pathToKekule/kekule.js?modules=chemWidget,webComponent></script>
As for the all-in-one kekule.min.js, it contains all available modules (including webComponent) and can not be parsed or loaded in IE directly. To workaround this problem, you may need to compress a custom one by yourself. Please check the compress tool in
Such a custom min file is attached here and you may use it directly. |
@partridgejiang Thank you! I will try it out. |
Has anyone successfully run Kekule.js in Internet Explorer? We got "Kekule undefined" error in our project. The same project works fine in Chrome and Firefox.
The text was updated successfully, but these errors were encountered: