JAL-3446 rearranged parameters for JalviewJS API methods
authorBobHanson <hansonr@stolaf.edu>
Sun, 7 Jun 2020 18:27:42 +0000 (13:27 -0500)
committerBobHanson <hansonr@stolaf.edu>
Sun, 7 Jun 2020 18:27:42 +0000 (13:27 -0500)
utils/jalviewjs/site-resources/_jalview_embedded_example1.html

index 99ae68e..2431682 100644 (file)
@@ -26,13 +26,13 @@ Info = {
 jvGet = function(what) {
        switch(what) {
        case "tree":
-               Jalview.app.openTreePanel(null, "NJ","BLOSUM62")
+               Jalview.app.openTreePanel("NJ","BLOSUM62")
                break;
        case "pca":
-               Jalview.app.openPcaPanel(null, "BLOSUM62")
+               Jalview.app.openPcaPanel("BLOSUM62")
                break;
        case "3D":
-               Jalview.app.showStructure(null, "1a70", "mmcif");
+               Jalview.app.showStructure("1a70", "mmcif");
                break;
        }