JAL-1807 test
[jalviewjs.git] / bin / swingjs / JSThread.js
index 5c12398..92f41fb 100644 (file)
@@ -1,49 +1,49 @@
-Clazz.declarePackage ("swingjs");\r
-Clazz.load (["java.lang.Thread", "swingjs.api.JSFunction"], "swingjs.JSThread", null, function () {\r
-c$ = Clazz.decorateAsClass (function () {\r
-this.isJS = false;\r
-Clazz.instantialize (this, arguments);\r
-}, swingjs, "JSThread", Thread, swingjs.api.JSFunction);\r
-Clazz.makeConstructor (c$, \r
-function (group, name) {\r
-Clazz.superConstructor (this, swingjs.JSThread, [group, name]);\r
-{\r
-this.isJS = true;\r
-}}, "ThreadGroup,~S");\r
-Clazz.overrideMethod (c$, "run", \r
-function () {\r
-this.run1 (0);\r
-});\r
-Clazz.defineMethod (c$, "start", \r
-function () {\r
-{\r
-swingjs.JSToolkit.setTimeout(this, 1, 0);\r
-}});\r
-Clazz.defineMethod (c$, "sleepAndReturn", \r
-function (delay, state) {\r
-if (!this.isJS) {\r
-Thread.sleep (delay);\r
-return false;\r
-}var me = this;\r
-var r = ((Clazz.isClassDefined ("swingjs.JSThread$1") ? 0 : swingjs.JSThread.$JSThread$1$ ()), Clazz.innerTypeInstance (swingjs.JSThread$1, this, Clazz.cloneFinals ("me", me, "state", state)));\r
-{\r
-setTimeout(\r
-function() {java.awt.Toolkit.getDefaultToolkit().getSystemEventQueue().postEvent(new java.awt.event.InvocationEvent(me, r))},\r
-delay\r
-);\r
-}return true;\r
-}, "~N,~N");\r
-c$.$JSThread$1$ = function () {\r
-Clazz.pu$h ();\r
-c$ = Clazz.declareAnonymous (swingjs, "JSThread$1", null, Runnable);\r
-Clazz.overrideMethod (c$, "run", \r
-function () {\r
-this.f$.me.run1 (this.f$.state);\r
-});\r
-c$ = Clazz.p0p ();\r
-};\r
-Clazz.defineStatics (c$,\r
-"INIT", 0,\r
-"LOOP", 1,\r
-"DONE", 2);\r
-});\r
+Clazz.declarePackage ("swingjs");
+Clazz.load (["java.lang.Thread", "swingjs.api.JSFunction"], "swingjs.JSThread", null, function () {
+c$ = Clazz.decorateAsClass (function () {
+this.isJS = false;
+Clazz.instantialize (this, arguments);
+}, swingjs, "JSThread", Thread, swingjs.api.JSFunction);
+Clazz.makeConstructor (c$, 
+function (group, name) {
+Clazz.superConstructor (this, swingjs.JSThread, [group, name]);
+{
+this.isJS = true;
+}}, "ThreadGroup,~S");
+Clazz.overrideMethod (c$, "run", 
+function () {
+this.run1 (0);
+});
+Clazz.defineMethod (c$, "start", 
+function () {
+{
+swingjs.JSToolkit.setTimeout(this, 1, 0);
+}});
+Clazz.defineMethod (c$, "sleepAndReturn", 
+function (delay, state) {
+if (!this.isJS) {
+Thread.sleep (delay);
+return false;
+}var me = this;
+var r = ((Clazz.isClassDefined ("swingjs.JSThread$1") ? 0 : swingjs.JSThread.$JSThread$1$ ()), Clazz.innerTypeInstance (swingjs.JSThread$1, this, Clazz.cloneFinals ("me", me, "state", state)));
+{
+setTimeout(
+function() {java.awt.Toolkit.getDefaultToolkit().getSystemEventQueue().postEvent(new java.awt.event.InvocationEvent(me, r))},
+delay
+);
+}return true;
+}, "~N,~N");
+c$.$JSThread$1$ = function () {
+Clazz.pu$h ();
+c$ = Clazz.declareAnonymous (swingjs, "JSThread$1", null, Runnable);
+Clazz.overrideMethod (c$, "run", 
+function () {
+this.f$.me.run1 (this.f$.state);
+});
+c$ = Clazz.p0p ();
+};
+Clazz.defineStatics (c$,
+"INIT", 0,
+"LOOP", 1,
+"DONE", 2);
+});