JAL-1807 - Bob's last(?) before leaving Dundee -- adds fast file loading
[jalviewjs.git] / site / j2s / jalview / schemes / NucleotideColourScheme.js
index abdfb5e..6594167 100644 (file)
@@ -5,11 +5,11 @@ Clazz.makeConstructor (c$,
 function () {
 Clazz.superConstructor (this, jalview.schemes.NucleotideColourScheme, [jalview.schemes.ResidueProperties.nucleotideIndex, jalview.schemes.ResidueProperties.nucleotide, 0]);
 });
-Clazz.defineMethod (c$, "findColour", 
+Clazz.overrideMethod (c$, "findColour", 
 function (c) {
 return this.colors[jalview.schemes.ResidueProperties.nucleotideIndex[c.charCodeAt (0)]];
 }, "~S");
-Clazz.defineMethod (c$, "findColour", 
+Clazz.overrideMethod (c$, "findColourSeq", 
 function (c, j, seq) {
 var currentColour;
 if ((this.threshold == 0) || this.aboveThreshold (c, j)) {