biojs-vis-pdbviewer
Version:
A BioJS 2.0 component to view protein structures
10 lines (9 loc) • 342 B
JavaScript
Clazz.declarePackage ("J.shapebio");
Clazz.load (["J.shapebio.Strands"], "J.shapebio.MeshRibbon", null, function () {
c$ = Clazz.declareType (J.shapebio, "MeshRibbon", J.shapebio.Strands);
Clazz.defineMethod (c$, "initShape",
function () {
Clazz.superCall (this, J.shapebio.MeshRibbon, "initShape", []);
this.isMesh = true;
});
});