mirror of
https://github.com/3dmol/3Dmol.js.git
synced 2026-06-04 08:39:49 +09:00
Fixup index.html from es6 module.
This commit is contained in:
@@ -60,6 +60,10 @@
|
||||
viewer.addCylinder({start: {chain: "B", resi: 23, atom: "NE1"}, end: {chain: "A", resi: 54, atom: "O"}, dashed: true,color:'#FFFAA0',fromCap:'round',toCap:'round'});
|
||||
};
|
||||
|
||||
// bind callbacks to window object so they can be resolved in autoload
|
||||
window.initShapes = initShapes;
|
||||
window.init1YCR = init1YCR;
|
||||
|
||||
const addSurf = function (viewer) {
|
||||
viewer.addSurface($3Dmol.SurfaceType.VDW, { opacity: 0.75 },
|
||||
{ hetflag: false }, { hetflag: false }, { chain: 'B' });
|
||||
|
||||
Reference in New Issue
Block a user