Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / site / j2s / com / stevesoft / pat / wrap / StringWrap.js
index d8e9dfe..a468b0d 100644 (file)
@@ -1,39 +1,39 @@
-Clazz.declarePackage ("com.stevesoft.pat.wrap");\r
-Clazz.load (["com.stevesoft.pat.StringLike"], "com.stevesoft.pat.wrap.StringWrap", ["com.stevesoft.pat.wrap.StringBufferWrap"], function () {\r
-c$ = Clazz.decorateAsClass (function () {\r
-this.s = null;\r
-Clazz.instantialize (this, arguments);\r
-}, com.stevesoft.pat.wrap, "StringWrap", null, com.stevesoft.pat.StringLike);\r
-Clazz.makeConstructor (c$, \r
-function (s) {\r
-this.s = s;\r
-}, "~S");\r
-Clazz.overrideMethod (c$, "toString", \r
-function () {\r
-return this.s;\r
-});\r
-Clazz.overrideMethod (c$, "charAt", \r
-function (i) {\r
-return this.s.charAt (i);\r
-}, "~N");\r
-Clazz.overrideMethod (c$, "length", \r
-function () {\r
-return this.s.length;\r
-});\r
-Clazz.overrideMethod (c$, "substring", \r
-function (i1, i2) {\r
-return this.s.substring (i1, i2);\r
-}, "~N,~N");\r
-Clazz.overrideMethod (c$, "unwrap", \r
-function () {\r
-return this.s;\r
-});\r
-Clazz.overrideMethod (c$, "newStringBufferLike", \r
-function () {\r
-return  new com.stevesoft.pat.wrap.StringBufferWrap ();\r
-});\r
-Clazz.overrideMethod (c$, "indexOf", \r
-function (c) {\r
-return this.s.indexOf (c);\r
-}, "~S");\r
-});\r
+Clazz.declarePackage ("com.stevesoft.pat.wrap");
+Clazz.load (["com.stevesoft.pat.StringLike"], "com.stevesoft.pat.wrap.StringWrap", ["com.stevesoft.pat.wrap.StringBufferWrap"], function () {
+c$ = Clazz.decorateAsClass (function () {
+this.s = null;
+Clazz.instantialize (this, arguments);
+}, com.stevesoft.pat.wrap, "StringWrap", null, com.stevesoft.pat.StringLike);
+Clazz.makeConstructor (c$, 
+function (s) {
+this.s = s;
+}, "~S");
+Clazz.overrideMethod (c$, "toString", 
+function () {
+return this.s;
+});
+Clazz.overrideMethod (c$, "charAt", 
+function (i) {
+return this.s.charAt (i);
+}, "~N");
+Clazz.overrideMethod (c$, "length", 
+function () {
+return this.s.length;
+});
+Clazz.overrideMethod (c$, "substring", 
+function (i1, i2) {
+return this.s.substring (i1, i2);
+}, "~N,~N");
+Clazz.overrideMethod (c$, "unwrap", 
+function () {
+return this.s;
+});
+Clazz.overrideMethod (c$, "newStringBufferLike", 
+function () {
+return  new com.stevesoft.pat.wrap.StringBufferWrap ();
+});
+Clazz.overrideMethod (c$, "indexOf", 
+function (c) {
+return this.s.indexOf (c);
+}, "~S");
+});