X-Git-Url: http://source.jalview.org/gitweb/?p=jalviewjs.git;a=blobdiff_plain;f=site%2Fj2s%2Fjssun%2Fmisc%2FRef.js;fp=site%2Fj2s%2Fjssun%2Fmisc%2FRef.js;h=4ad50932df56e42fffe15db8e29126ac939b1e7d;hp=01850dac6d672affd00727a77f5b6629ab1de404;hb=b9b7a352eee79b7764c3b09c9d19663075061d8c;hpb=7301a2415adab88038b291fc54caeeb3a5a47a44 diff --git a/site/j2s/jssun/misc/Ref.js b/site/j2s/jssun/misc/Ref.js index 01850da..4ad5093 100644 --- a/site/j2s/jssun/misc/Ref.js +++ b/site/j2s/jssun/misc/Ref.js @@ -1,32 +1,32 @@ -Clazz.declarePackage ("jssun.misc"); -c$ = Clazz.decorateAsClass (function () { -this.soft = null; -Clazz.instantialize (this, arguments); -}, jssun.misc, "Ref"); -Clazz.defineMethod (c$, "get", -function () { -var t = this.check (); -if (t == null) { -t = this.reconstitute (); -this.setThing (t); -}return t; -}); -Clazz.defineMethod (c$, "flush", -function () { -}); -Clazz.defineMethod (c$, "setThing", -function (thing) { -this.flush (); -this.soft = thing; -}, "~O"); -Clazz.defineMethod (c$, "check", -function () { -return this.soft; -}); -Clazz.makeConstructor (c$, -function () { -}); -Clazz.makeConstructor (c$, -function (thing) { -this.setThing (thing); -}, "~O"); +Clazz.declarePackage ("jssun.misc"); +c$ = Clazz.decorateAsClass (function () { +this.soft = null; +Clazz.instantialize (this, arguments); +}, jssun.misc, "Ref"); +Clazz.defineMethod (c$, "get", +function () { +var t = this.check (); +if (t == null) { +t = this.reconstitute (); +this.setThing (t); +}return t; +}); +Clazz.defineMethod (c$, "flush", +function () { +}); +Clazz.defineMethod (c$, "setThing", +function (thing) { +this.flush (); +this.soft = thing; +}, "~O"); +Clazz.defineMethod (c$, "check", +function () { +return this.soft; +}); +Clazz.makeConstructor (c$, +function () { +}); +Clazz.makeConstructor (c$, +function (thing) { +this.setThing (thing); +}, "~O");