X-Git-Url: http://source.jalview.org/gitweb/?p=jalviewjs.git;a=blobdiff_plain;f=site%2Fj2s%2Fcom%2Fstevesoft%2Fpat%2FSubMark.js;h=9e1b5b857bc3c38972c40f3b4ec9b740faba0bee;hp=0ea6b3acb98c0a83acefa4458b349fa4742ebeac;hb=b9b7a352eee79b7764c3b09c9d19663075061d8c;hpb=7301a2415adab88038b291fc54caeeb3a5a47a44 diff --git a/site/j2s/com/stevesoft/pat/SubMark.js b/site/j2s/com/stevesoft/pat/SubMark.js index 0ea6b3a..9e1b5b8 100644 --- a/site/j2s/com/stevesoft/pat/SubMark.js +++ b/site/j2s/com/stevesoft/pat/SubMark.js @@ -1,21 +1,21 @@ -Clazz.declarePackage ("com.stevesoft.pat"); -Clazz.load (["com.stevesoft.pat.Pattern"], "com.stevesoft.pat.SubMark", null, function () { -c$ = Clazz.decorateAsClass (function () { -this.end_pos = 0; -this.start_pos = 0; -this.om = null; -Clazz.instantialize (this, arguments); -}, com.stevesoft.pat, "SubMark", com.stevesoft.pat.Pattern); -Clazz.overrideMethod (c$, "toString", -function () { -return ""; -}); -Clazz.overrideMethod (c$, "matchInternal", -function (i, pt) { -pt.marks[this.om.id + pt.nMarks] = i; -var ret = this.nextMatch (i, pt); -if (ret < 0) { -pt.marks[this.om.id + pt.nMarks] = -1; -}return ret; -}, "~N,com.stevesoft.pat.Pthings"); -}); +Clazz.declarePackage ("com.stevesoft.pat"); +Clazz.load (["com.stevesoft.pat.Pattern"], "com.stevesoft.pat.SubMark", null, function () { +c$ = Clazz.decorateAsClass (function () { +this.end_pos = 0; +this.start_pos = 0; +this.om = null; +Clazz.instantialize (this, arguments); +}, com.stevesoft.pat, "SubMark", com.stevesoft.pat.Pattern); +Clazz.overrideMethod (c$, "toString", +function () { +return ""; +}); +Clazz.overrideMethod (c$, "matchInternal", +function (i, pt) { +pt.marks[this.om.id + pt.nMarks] = i; +var ret = this.nextMatch (i, pt); +if (ret < 0) { +pt.marks[this.om.id + pt.nMarks] = -1; +}return ret; +}, "~N,com.stevesoft.pat.Pthings"); +});