Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / site / j2s / com / stevesoft / pat / Custom.js
index 4e0fa72..44fa656 100644 (file)
@@ -1,41 +1,41 @@
-Clazz.declarePackage ("com.stevesoft.pat");\r
-Clazz.load (["com.stevesoft.pat.PatternSub"], "com.stevesoft.pat.Custom", ["com.stevesoft.pat.Regex"], function () {\r
-c$ = Clazz.decorateAsClass (function () {\r
-this.select = null;\r
-this.v = null;\r
-this.start = 0;\r
-Clazz.instantialize (this, arguments);\r
-}, com.stevesoft.pat, "Custom", com.stevesoft.pat.PatternSub);\r
-Clazz.makeConstructor (c$, \r
-function (s) {\r
-Clazz.superConstructor (this, com.stevesoft.pat.Custom, []);\r
-this.select = s;\r
-this.v = com.stevesoft.pat.Regex.validators.get (s);\r
-}, "~S");\r
-Clazz.defineMethod (c$, "matchInternal", \r
-function (pos, pt) {\r
-this.start = pos;\r
-return this.sub.matchInternal (pos, pt);\r
-}, "~N,com.stevesoft.pat.Pthings");\r
-Clazz.overrideMethod (c$, "toString", \r
-function () {\r
-var a = this.v.argsave == null ? "" : ":" + this.v.argsave;\r
-return "(??" + this.select + a + ")" + this.nextString ();\r
-});\r
-Clazz.overrideMethod (c$, "minChars", \r
-function () {\r
-return this.v.minChars ();\r
-});\r
-Clazz.overrideMethod (c$, "maxChars", \r
-function () {\r
-return this.v.maxChars ();\r
-});\r
-Clazz.overrideMethod (c$, "clone1", \r
-function (h) {\r
-var c =  new com.stevesoft.pat.Custom (this.select);\r
-h.put (c, c);\r
-h.put (this, c);\r
-c.sub = this.sub.clone (h);\r
-return c;\r
-}, "java.util.Hashtable");\r
-});\r
+Clazz.declarePackage ("com.stevesoft.pat");
+Clazz.load (["com.stevesoft.pat.PatternSub"], "com.stevesoft.pat.Custom", ["com.stevesoft.pat.Regex"], function () {
+c$ = Clazz.decorateAsClass (function () {
+this.select = null;
+this.v = null;
+this.start = 0;
+Clazz.instantialize (this, arguments);
+}, com.stevesoft.pat, "Custom", com.stevesoft.pat.PatternSub);
+Clazz.makeConstructor (c$, 
+function (s) {
+Clazz.superConstructor (this, com.stevesoft.pat.Custom, []);
+this.select = s;
+this.v = com.stevesoft.pat.Regex.validators.get (s);
+}, "~S");
+Clazz.defineMethod (c$, "matchInternal", 
+function (pos, pt) {
+this.start = pos;
+return this.sub.matchInternal (pos, pt);
+}, "~N,com.stevesoft.pat.Pthings");
+Clazz.overrideMethod (c$, "toString", 
+function () {
+var a = this.v.argsave == null ? "" : ":" + this.v.argsave;
+return "(??" + this.select + a + ")" + this.nextString ();
+});
+Clazz.overrideMethod (c$, "minChars", 
+function () {
+return this.v.minChars ();
+});
+Clazz.overrideMethod (c$, "maxChars", 
+function () {
+return this.v.maxChars ();
+});
+Clazz.overrideMethod (c$, "clone1", 
+function (h) {
+var c =  new com.stevesoft.pat.Custom (this.select);
+h.put (c, c);
+h.put (this, c);
+c.sub = this.sub.clone (h);
+return c;
+}, "java.util.Hashtable");
+});