JAL-1807 includes ?j2sdebug flag and DebugJS._(msg)
[jalviewjs.git] / site / j2s / jalview / datamodel / Annotation.js
index 92e1248..d704ba4 100644 (file)
@@ -61,11 +61,11 @@ sb.append (this.value);
 if (sb.length () > 0) {\r
 sb.append (",");\r
 }sb.append ("[");\r
-sb.append (this.colour.getRed ());\r
+sb.append ("" + this.colour.getRed ());\r
 sb.append (",");\r
-sb.append (this.colour.getGreen ());\r
+sb.append ("" + this.colour.getGreen ());\r
 sb.append (",");\r
-sb.append (this.colour.getBlue ());\r
+sb.append ("" + this.colour.getBlue ());\r
 sb.append ("]");\r
 }return sb.toString ();\r
 });\r