#210 Fixes Ensembl fetch problem (really)
[jalview.git] / src / jalview / bin / JalviewJS2.java
index 0a02a8d..6767912 100644 (file)
@@ -18,7 +18,7 @@ public class JalviewJS2
 
   static {
     /**
-     * --j2sNative
+     * @j2sNative
      * 
      *            thisApplet.__Info.args =
      *            ["open","examples/uniref50.fa","features",
@@ -26,15 +26,13 @@ public class JalviewJS2
      */
 
     /**
+     * set space-delimited query parameters as arguments to Jalview main
+     * 
      * @j2sNative
      * 
-     *         hr = decodeURI(document.location.href);
-     *  pos = hr.indexOf("?");
-     *  // set space-delimited query parameters as arguments to Jalview main
-     *  if (pos > 0)
-     *  {
-     *     thisApplet.__Info.args = hr.substring(pos+1).split(" ");
-     *  }
+     *            var hr = decodeURI(document.location.href); var pos =
+     *            hr.indexOf("?"); if (pos > 0) { thisApplet.__Info.args =
+     *            hr.substring(pos+1).split(" "); }
      */
   }
 
@@ -65,7 +63,9 @@ private static void showFocusTimer() {
        t.setRepeats(true);
        if (/** @j2sNative true || */
        false)
-               t.start();
+  {
+    t.start();
+  }
   }