JAL-3274 resource path correction, code tidying (constants etc)
[jalview.git] / src / jalview / util / Platform.java
index 44d93b7..e9afb70 100644 (file)
@@ -337,9 +337,7 @@ public class Platform
 
   public static byte[] getFileBytes(File f)
   {
-    // TODO temporary doubling of ç§˜bytes and _bytes;
-    // just remove _bytes when new transpiler has been installed
-    return /** @j2sNative f && (f.\u79d8bytes || f._bytes) || */
+    return /** @j2sNative f && swingjs.JSUtil.getFileBytes$O(f) || */
     null;
   }
 
@@ -435,7 +433,7 @@ public class Platform
     @SuppressWarnings("unused")
     ThreadGroup g = Thread.currentThread().getThreadGroup();
     /**
-     * @j2sNative return g.\u79d8html5Applet._uniqueId;
+     * @j2sNative return g.getHtmlApplet$()._uniqueId;
      *
      */
     return null;
@@ -461,8 +459,9 @@ public class Platform
     String id = getUniqueAppletID();
     String key = "", value = "";
     /**
-     * @j2sNative var info = g.\u79d8html5Applet.__Info || {}; for (var key in info) {
-     *            if (key.indexOf(prefix) == 0) { value = "" + info[key];
+     * @j2sNative var info = g.getHtmlApplet$().__Info || {}; for (var key in
+     *            info) { if (key.indexOf(prefix) == 0) { value = "" +
+     *            info[key];
      */
 
     System.out.println(