Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / site / j2s / JU / Inflater.js
index 35776bf..7d17f85 100644 (file)
@@ -1,52 +1,52 @@
-Clazz.declarePackage ("JU");\r
-Clazz.load (["JU.ZStream"], "JU.Inflater", ["JU.Inflate"], function () {\r
-c$ = Clazz.declareType (JU, "Inflater", JU.ZStream);\r
-Clazz.defineMethod (c$, "init", \r
-function (w, nowrap) {\r
-this.setAdler32 ();\r
-if (w == 0) w = 15;\r
-this.istate =  new JU.Inflate (this);\r
-this.istate.inflateInit (nowrap ? -w : w);\r
-return this;\r
-}, "~N,~B");\r
-Clazz.overrideMethod (c$, "inflate", \r
-function (f) {\r
-if (this.istate == null) return -2;\r
-var ret = this.istate.inflate (f);\r
-return ret;\r
-}, "~N");\r
-Clazz.overrideMethod (c$, "end", \r
-function () {\r
-if (this.istate == null) return -2;\r
-var ret = this.istate.inflateEnd ();\r
-return ret;\r
-});\r
-Clazz.defineMethod (c$, "sync", \r
-function () {\r
-if (this.istate == null) return -2;\r
-return this.istate.inflateSync ();\r
-});\r
-Clazz.defineMethod (c$, "syncPoint", \r
-function () {\r
-if (this.istate == null) return -2;\r
-return this.istate.inflateSyncPoint ();\r
-});\r
-Clazz.defineMethod (c$, "setDictionary", \r
-function (dictionary, dictLength) {\r
-if (this.istate == null) return -2;\r
-return this.istate.inflateSetDictionary (dictionary, dictLength);\r
-}, "~A,~N");\r
-Clazz.overrideMethod (c$, "finished", \r
-function () {\r
-return this.istate.mode == 12;\r
-});\r
-Clazz.defineMethod (c$, "reset", \r
-function () {\r
-this.avail_in = 0;\r
-if (this.istate != null) this.istate.reset ();\r
-});\r
-Clazz.defineStatics (c$,\r
-"MAX_WBITS", 15,\r
-"DEF_WBITS", 15,\r
-"$Z_STREAM_ERROR", -2);\r
-});\r
+Clazz.declarePackage ("JU");
+Clazz.load (["JU.ZStream"], "JU.Inflater", ["JU.Inflate"], function () {
+c$ = Clazz.declareType (JU, "Inflater", JU.ZStream);
+Clazz.defineMethod (c$, "init", 
+function (w, nowrap) {
+this.setAdler32 ();
+if (w == 0) w = 15;
+this.istate =  new JU.Inflate (this);
+this.istate.inflateInit (nowrap ? -w : w);
+return this;
+}, "~N,~B");
+Clazz.overrideMethod (c$, "inflate", 
+function (f) {
+if (this.istate == null) return -2;
+var ret = this.istate.inflate (f);
+return ret;
+}, "~N");
+Clazz.overrideMethod (c$, "end", 
+function () {
+if (this.istate == null) return -2;
+var ret = this.istate.inflateEnd ();
+return ret;
+});
+Clazz.defineMethod (c$, "sync", 
+function () {
+if (this.istate == null) return -2;
+return this.istate.inflateSync ();
+});
+Clazz.defineMethod (c$, "syncPoint", 
+function () {
+if (this.istate == null) return -2;
+return this.istate.inflateSyncPoint ();
+});
+Clazz.defineMethod (c$, "setDictionary", 
+function (dictionary, dictLength) {
+if (this.istate == null) return -2;
+return this.istate.inflateSetDictionary (dictionary, dictLength);
+}, "~A,~N");
+Clazz.overrideMethod (c$, "finished", 
+function () {
+return this.istate.mode == 12;
+});
+Clazz.defineMethod (c$, "reset", 
+function () {
+this.avail_in = 0;
+if (this.istate != null) this.istate.reset ();
+});
+Clazz.defineStatics (c$,
+"MAX_WBITS", 15,
+"DEF_WBITS", 15,
+"$Z_STREAM_ERROR", -2);
+});