Collections:
"new window.ResizeObserver(this.resize)" Error
Why am I getting the "error creating viewer: TypeError: undefined is not a constructor" error at "new window.ResizeObserver(this.resize)"?
✍: FYIcenter.com
If you load a 3Dmol.js HTML file in an older Apple Safari Web browser, you will get the following error in the browser developer console.
error creating viewer: TypeError: undefined is not a constructor (evaluating 'new window.ResizeObserver(this.resize)') - (anonymous function) — 3Dmol.js:4059
This is because old Safari Web browsers do not support newer releases of WebGL technology.
If you load the same HTML file in the latest Google Chrome Web browser, you will no see any errors.
⇒ Difference between 3Dmol.js and 3Dmol-min.js
⇐ Use of Anonymous Function for 3Dmol.js
⇑ Getting Started with 3Dmol.js
⇑⇑ 3Dmol.js FAQ
2023-09-07, 420🔥, 0💬
Popular Posts:
Molecule Summary: ID: FYI-1003437 Names: InChIKey: YSUUIPAGPVQNSM-UHFFFAOYS A-NSMILES: COc1ccc2c(c1)...
Molecule Summary: ID: FYI-1000294 SMILES: Oc1cccc2ccccc12 Received at FYIcenter.com on: 2021-03-19
Molecule Summary: ID: FYI-1002074 Names: InChIKey: BPXRCZAENSPPPK-OWOJBTEDS A-NSMILES: F/C=C/[F+]F R...
How to generate image from a given chemical structure with the ketcher.generateImage() method? If yo...
Molecule Summary: ID: FYI-1001344 SMILES: Received at FYIcenter.com on: 2022-05-26