X-Git-Url: http://source.jalview.org/gitweb/?p=jalviewjs.git;a=blobdiff_plain;f=site%2Fj2s%2Fcom%2Fstevesoft%2Fpat%2FAmpersandRule.js;fp=site%2Fj2s%2Fcom%2Fstevesoft%2Fpat%2FAmpersandRule.js;h=6d1f6221ff8881aacddc71c9d04326f9a5887e42;hp=ac1ce772b533b479c48c15585613d33859aba3b0;hb=b9b7a352eee79b7764c3b09c9d19663075061d8c;hpb=7301a2415adab88038b291fc54caeeb3a5a47a44 diff --git a/site/j2s/com/stevesoft/pat/AmpersandRule.js b/site/j2s/com/stevesoft/pat/AmpersandRule.js index ac1ce77..6d1f622 100644 --- a/site/j2s/com/stevesoft/pat/AmpersandRule.js +++ b/site/j2s/com/stevesoft/pat/AmpersandRule.js @@ -1,16 +1,16 @@ -Clazz.declarePackage ("com.stevesoft.pat"); -Clazz.load (["com.stevesoft.pat.ReplaceRule"], "com.stevesoft.pat.AmpersandRule", null, function () { -c$ = Clazz.declareType (com.stevesoft.pat, "AmpersandRule", com.stevesoft.pat.ReplaceRule); -Clazz.makeConstructor (c$, -function () { -Clazz.superConstructor (this, com.stevesoft.pat.AmpersandRule, []); -}); -Clazz.overrideMethod (c$, "apply", -function (sb, res) { -sb.append (res.stringMatched ()); -}, "com.stevesoft.pat.StringBufferLike,com.stevesoft.pat.RegRes"); -Clazz.overrideMethod (c$, "toString1", -function () { -return "$&"; -}); -}); +Clazz.declarePackage ("com.stevesoft.pat"); +Clazz.load (["com.stevesoft.pat.ReplaceRule"], "com.stevesoft.pat.AmpersandRule", null, function () { +c$ = Clazz.declareType (com.stevesoft.pat, "AmpersandRule", com.stevesoft.pat.ReplaceRule); +Clazz.makeConstructor (c$, +function () { +Clazz.superConstructor (this, com.stevesoft.pat.AmpersandRule, []); +}); +Clazz.overrideMethod (c$, "apply", +function (sb, res) { +sb.append (res.stringMatched ()); +}, "com.stevesoft.pat.StringBufferLike,com.stevesoft.pat.RegRes"); +Clazz.overrideMethod (c$, "toString1", +function () { +return "$&"; +}); +});