git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ffa230
)
JAL-3262 from JAL-3253-applet Platform JS interface upgrade
author
BobHanson
<hansonr@stolaf.edu>
Mon, 1 Jun 2020 21:29:54 +0000
(16:29 -0500)
committer
BobHanson
<hansonr@stolaf.edu>
Mon, 1 Jun 2020 21:29:54 +0000
(16:29 -0500)
src/jalview/util/Platform.java
patch
|
blob
|
history
diff --git
a/src/jalview/util/Platform.java
b/src/jalview/util/Platform.java
index
2fa807a
..
c06c755
100644
(file)
--- 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);
+ }
+
+
}