X-Git-Url: http://source.jalview.org/gitweb/?p=jalviewjs.git;a=blobdiff_plain;f=site%2Fj2s%2Fjalview%2Fdatamodel%2FSecondaryStructureAnnotation.js;h=2d1eb58a670e9705f263ec28091e258a3e287d94;hp=6a35ad37c6a5a3bf8ff0d9f791266e155699f458;hb=b9b7a352eee79b7764c3b09c9d19663075061d8c;hpb=7301a2415adab88038b291fc54caeeb3a5a47a44 diff --git a/site/j2s/jalview/datamodel/SecondaryStructureAnnotation.js b/site/j2s/jalview/datamodel/SecondaryStructureAnnotation.js index 6a35ad3..2d1eb58 100644 --- a/site/j2s/jalview/datamodel/SecondaryStructureAnnotation.js +++ b/site/j2s/jalview/datamodel/SecondaryStructureAnnotation.js @@ -1,23 +1,23 @@ -Clazz.declarePackage ("jalview.datamodel"); -Clazz.load (["jalview.datamodel.AlignmentAnnotation"], "jalview.datamodel.SecondaryStructureAnnotation", ["jalview.datamodel.Annotation"], function () { -c$ = Clazz.declareType (jalview.datamodel, "SecondaryStructureAnnotation", jalview.datamodel.AlignmentAnnotation); -Clazz.makeConstructor (c$, -function (rna) { -Clazz.superConstructor (this, jalview.datamodel.SecondaryStructureAnnotation, ["Secondary Structure", "Un truc trop cool", jalview.datamodel.SecondaryStructureAnnotation.getAnnotation (rna)]); -jalview.datamodel.SecondaryStructureAnnotation._rna = rna; -}, "fr.orsay.lri.varna.models.rna.RNA"); -Clazz.defineMethod (c$, "getRNA", -function () { -return jalview.datamodel.SecondaryStructureAnnotation._rna; -}); -c$.getAnnotation = Clazz.defineMethod (c$, "getAnnotation", -function (rna) { -var ann = new Array (rna.getSize ()); -for (var i = 0; i < ann.length; i++) { -ann[i] = new jalview.datamodel.Annotation (jalview.datamodel.SecondaryStructureAnnotation._rna.getStructDBN (true), "", ' ', 0); -;} -return ann; -}, "fr.orsay.lri.varna.models.rna.RNA"); -Clazz.defineStatics (c$, -"_rna", null); -}); +Clazz.declarePackage ("jalview.datamodel"); +Clazz.load (["jalview.datamodel.AlignmentAnnotation"], "jalview.datamodel.SecondaryStructureAnnotation", ["jalview.datamodel.Annotation"], function () { +c$ = Clazz.declareType (jalview.datamodel, "SecondaryStructureAnnotation", jalview.datamodel.AlignmentAnnotation); +Clazz.makeConstructor (c$, +function (rna) { +Clazz.superConstructor (this, jalview.datamodel.SecondaryStructureAnnotation, ["Secondary Structure", "Un truc trop cool", jalview.datamodel.SecondaryStructureAnnotation.getAnnotation (rna)]); +jalview.datamodel.SecondaryStructureAnnotation._rna = rna; +}, "fr.orsay.lri.varna.models.rna.RNA"); +Clazz.defineMethod (c$, "getRNA", +function () { +return jalview.datamodel.SecondaryStructureAnnotation._rna; +}); +c$.getAnnotation = Clazz.defineMethod (c$, "getAnnotation", +function (rna) { +var ann = new Array (rna.getSize ()); +for (var i = 0; i < ann.length; i++) { +ann[i] = new jalview.datamodel.Annotation (jalview.datamodel.SecondaryStructureAnnotation._rna.getStructDBN (true), "", ' ', 0); +;} +return ann; +}, "fr.orsay.lri.varna.models.rna.RNA"); +Clazz.defineStatics (c$, +"_rna", null); +});