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:
67dd34c
)
JAL-3032 Jalview (as JS) parse query params to main arguments
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Mon, 25 Feb 2019 15:54:48 +0000
(15:54 +0000)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Mon, 25 Feb 2019 15:54:48 +0000
(15:54 +0000)
src/jalview/bin/Jalview.java
patch
|
blob
|
history
diff --git
a/src/jalview/bin/Jalview.java
b/src/jalview/bin/Jalview.java
index
29d48b2
..
e528dec
100755
(executable)
--- a/
src/jalview/bin/Jalview.java
+++ b/
src/jalview/bin/Jalview.java
@@
-90,8
+90,17
@@
import groovy.util.GroovyScriptEngine;
*/
public class Jalview
{
-
- // BH 6/19/2018 starting to work on JS version - just discovering issues
+ /**
+ * @j2sNative
+ *
+ * // set space-delimited query parameters as arguments to Jalview main
+ * hr = decodeURI(document.location.href);
+ * pos = hr.indexOf("?");
+ * if (pos > 0)
+ * {
+ * thisApplet.__Info.args = hr.substring(pos+1).split(" ");
+ * }
+ */
/*
* singleton instance of this class