JAL-1807 includes ?j2sdebug flag and DebugJS._(msg)
[jalviewjs.git] / bin / jalview / schemes / PurinePyrimidineColourScheme.js
index be4e523..514d31b 100644 (file)
@@ -1,31 +1,31 @@
-Clazz.declarePackage ("jalview.schemes");\r
-Clazz.load (["jalview.schemes.ResidueColourScheme"], "jalview.schemes.PurinePyrimidineColourScheme", ["jalview.schemes.ResidueProperties", "java.awt.Color"], function () {\r
-c$ = Clazz.declareType (jalview.schemes, "PurinePyrimidineColourScheme", jalview.schemes.ResidueColourScheme);\r
-Clazz.makeConstructor (c$, \r
-function () {\r
-Clazz.superConstructor (this, jalview.schemes.PurinePyrimidineColourScheme, [jalview.schemes.ResidueProperties.purinepyrimidineIndex, jalview.schemes.ResidueProperties.purinepyrimidine, 0]);\r
-});\r
-Clazz.defineMethod (c$, "findColour", \r
-function (c) {\r
-return this.colors[jalview.schemes.ResidueProperties.purinepyrimidineIndex[c.charCodeAt (0)]];\r
-}, "~S");\r
-Clazz.defineMethod (c$, "findColour", \r
-function (c, j) {\r
-var currentColour;\r
-if ((this.threshold == 0) || this.aboveThreshold (c, j)) {\r
-try {\r
-currentColour = this.colors[jalview.schemes.ResidueProperties.purinepyrimidineIndex[c.charCodeAt (0)]];\r
-} catch (ex) {\r
-if (Clazz.exceptionOf (ex, Exception)) {\r
-return java.awt.Color.white;\r
-} else {\r
-throw ex;\r
-}\r
-}\r
-} else {\r
-return java.awt.Color.white;\r
-}if (this.conservationColouring) {\r
-currentColour = this.applyConservation (currentColour, j);\r
-}return currentColour;\r
-}, "~S,~N");\r
-});\r
+Clazz.declarePackage ("jalview.schemes");
+Clazz.load (["jalview.schemes.ResidueColourScheme"], "jalview.schemes.PurinePyrimidineColourScheme", ["jalview.schemes.ResidueProperties", "java.awt.Color"], function () {
+c$ = Clazz.declareType (jalview.schemes, "PurinePyrimidineColourScheme", jalview.schemes.ResidueColourScheme);
+Clazz.makeConstructor (c$, 
+function () {
+Clazz.superConstructor (this, jalview.schemes.PurinePyrimidineColourScheme, [jalview.schemes.ResidueProperties.purinepyrimidineIndex, jalview.schemes.ResidueProperties.purinepyrimidine, 0]);
+});
+Clazz.defineMethod (c$, "findColour", 
+function (c) {
+return this.colors[jalview.schemes.ResidueProperties.purinepyrimidineIndex[c.charCodeAt (0)]];
+}, "~S");
+Clazz.defineMethod (c$, "findColour", 
+function (c, j) {
+var currentColour;
+if ((this.threshold == 0) || this.aboveThreshold (c, j)) {
+try {
+currentColour = this.colors[jalview.schemes.ResidueProperties.purinepyrimidineIndex[c.charCodeAt (0)]];
+} catch (ex) {
+if (Clazz.exceptionOf (ex, Exception)) {
+return java.awt.Color.white;
+} else {
+throw ex;
+}
+}
+} else {
+return java.awt.Color.white;
+}if (this.conservationColouring) {
+currentColour = this.applyConservation (currentColour, j);
+}return currentColour;
+}, "~S,~N");
+});