From 58f14dfdbea524e0f28841a65f2fa64ddb4d8889 Mon Sep 17 00:00:00 2001 From: BobHanson Date: Mon, 1 Jun 2020 16:29:54 -0500 Subject: [PATCH] JAL-3262 from JAL-3253-applet Platform JS interface upgrade --- src/jalview/util/Platform.java | 11 +++++++++++ 1 file changed, 11 insertions(+) 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); + } + + } -- 1.7.10.2