Open njzjz opened 1 year ago
Did you encounter this error in every browser or was it unique to Internet Explorer 11?
was it unique to Internet Explorer 11
My browser is Edge 108.0.1462.54.
Can confirm. This project's own example file can recreate this: https://github.com/reymond-group/smilesDrawer/blob/master/example/index_svg.html
Changing the line: https://github.com/reymond-group/smilesDrawer/blob/67bd1065fef1d7fb6246db7d6ded758c6f43a91a/example/index_svg.html#L11
To:
<script src="https://unpkg.com/smiles-drawer@2.0.3/dist/smiles-drawer.min.js"></script>
Works, while setting the version to 2.1.5 gives this error, as well as using the smiles-drawer currently in dist.
After the version was bumped from v2.0.3 to v2.1.2, I got the following error:
The error disappeared after reverting to the previous version. From the traceback, the error should happen here:
https://github.com/reymond-group/smilesDrawer/blob/667680960074365ae2b93f09a468c75a7872d4c4/src/SvgDrawer.js#L410