JAL-3262 from JAL-3253-applet Platform JS interface upgrade
authorBobHanson <hansonr@stolaf.edu>
Mon, 1 Jun 2020 21:29:54 +0000 (16:29 -0500)
committerBobHanson <hansonr@stolaf.edu>
Mon, 1 Jun 2020 21:29:54 +0000 (16:29 -0500)
src/jalview/util/Platform.java

index 2fa807a..c06c755 100644 (file)
@@ -823,4 +823,15 @@ public class Platform
 
   }
 
+  public static URL getDocumentBase()
+  {
+    return (isJS ? jsutil.getDocumentBase() : null);
+  }
+
+  public static URL getCodeBase()
+  {
+    return (isJS ? jsutil.getCodeBase() : null);
+  }
+
+
 }