JAL-1807 - Bob's last(?) before leaving Dundee -- adds fast file loading
[jalviewjs.git] / site / j2s / jalview / schemes / RNAHelicesColour.js
index c7d3af2..abfa7ae 100644 (file)
@@ -51,11 +51,11 @@ if (!this.helixcolorhash.containsKey (Integer.toString (j))) {
 this.helixcolorhash.put (Integer.toString (j), jalview.util.ColorUtils.generateRandomColor (java.awt.Color.white));
 }}
 }});
-Clazz.defineMethod (c$, "findColour", 
+Clazz.overrideMethod (c$, "findColour", 
 function (c) {
 return jalview.schemes.ResidueProperties.purinepyrimidine[jalview.schemes.ResidueProperties.purinepyrimidineIndex[c.charCodeAt (0)]];
 }, "~S");
-Clazz.defineMethod (c$, "findColour", 
+Clazz.overrideMethod (c$, "findColourSeq", 
 function (c, j, seq) {
 this.refresh ();
 var currentColour = java.awt.Color.white;