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, 1223🔥, 0💬
Popular Posts:
Molecule Summary: ID: FYI-1004111 Names: InChIKey: RKBWGDLFVFDNGK-AWEZNQCLS A-NSMILES: CCc3ccc(c1ncn...
How to use "babel -o fpt ..." command to do similarity search? You can use the "fpt" output file for...
Molecule Summary: ID: FYI-1003536 Names: InChIKey: ZTEDNQIRFSYGAS-ZJUVRATGS A-NSMILES: CCC(/C=C\\2OC...
Molecule Summary: ID: FYI-1000942 SMILES: O=C4N=C(NC23CC1CC(CC(C1) C2)C3)SC45CCC5Received at FYIcent...
Molecule Summary: ID: FYI-1000314 SMILES: CC[C@H](n1ncc(c1C1CC1)C( =O)Nc1n[nH]cn1)CReceived at FYIce...