X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=site-resources%2Fjavascript%2Fjvcontroller.js;fp=site-resources%2Fjavascript%2Fjvcontroller.js;h=0000000000000000000000000000000000000000;hb=4f77328104498504339216829abf5ea87e2791ec;hp=8116e602e32014b33c8cc98f2f261855b23f54d1;hpb=2b8c0785318a3528e1876e8e2dd48b7d831eae69;p=jalview.git diff --git a/site-resources/javascript/jvcontroller.js b/site-resources/javascript/jvcontroller.js deleted file mode 100644 index 8116e60..0000000 --- a/site-resources/javascript/jvcontroller.js +++ /dev/null @@ -1,220 +0,0 @@ -/** - * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$) - * Copyright (C) $$Year-Rel$$ The Jalview Authors - * - * This file is part of Jalview. - * - * Jalview is free software: you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - * - * Jalview is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR - * PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of - * the GNU General Public License along with Jalview. If not, see . - * The Jalview Authors are detailed in the 'AUTHORS' file. - */ - - -$(document).ready(function() { - processAllAppletElements(); -}); - - - - var currentPage = "applets"; - - function processAllAppletElements() { - var apps = document.getElementsByTagName("applet"); - for (var i = apps.length; --i >= 0;) { - processAppletElement(apps[i]); - } - } - - var jvid = 0; - - function testBtn(e) { - var element = e.target.appletElement; - var text = element.outerHTML; - - //var - var Info = self.JalviewInfo || { - code: null, - main: "jalview.bin.Jalview", - core: "NONE", - - - width: 850, - height: 550, - readyFunction: null, - serverURL: 'https://chemapps.stolaf.edu/jmol/jsmol/php/jsmol.php', - j2sPath: 'swingjs/j2s', -// console:'sysoutdiv', - allowjavascript: true -} - -var id = "JVApplet" + jvid++; -var args = text.replace(/[\n\t]/g, " ").split("