From: BobHanson Date: Mon, 1 Jun 2020 21:29:54 +0000 (-0500) Subject: JAL-3262 from JAL-3253-applet Platform JS interface upgrade X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=58f14dfdbea524e0f28841a65f2fa64ddb4d8889;p=jalview.git JAL-3262 from JAL-3253-applet Platform JS interface upgrade --- diff --git a/src/jalview/util/Platform.java b/src/jalview/util/Platform.java index 2fa807a..c06c755 100644 --- a/src/jalview/util/Platform.java +++ b/src/jalview/util/Platform.java @@ -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); + } + + }