JAL-3210 Barebones gradle/buildship/eclipse. See README
[jalview.git] / examples / biojson-doc / tests / test.html
diff --git a/examples/biojson-doc/tests/test.html b/examples/biojson-doc/tests/test.html
deleted file mode 100755 (executable)
index c6bebd6..0000000
+++ /dev/null
@@ -1,61 +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 <http://www.gnu.org/licenses/>.
- * The Jalview Authors are detailed in the 'AUTHORS' file.
- -->
-<!DOCTYPE html>
-<html>
-<head>
-    <title>Docson Test</title>
-    <meta charset="utf-8">
-    <link rel="stylesheet" href="../css/docson.css">
-    <script src="../lib/require.js"></script></head>
-    <style>
-        body {
-            font-family: verdana, helvetica;
-        }
-    </style>
-</head>
-<body>
-<script charset="utf-8">
-    var tests = [ "invoice$Invoice", "enum", "schema","additionalProperties", "address", "fstab", "basic", "not", "oneOf", "anyOf", "allOf", "example2", "properties", "ref"]
-    require.config({ baseUrl: ".."});
-    require(["docson", "lib/jquery"], function(docson) {
-        docson.templateBaseUrl="../templates";
-        $(function() {
-            $.each(tests, function(k, test) {
-                var block = $("<div/>");
-                var segments = test.split("$");
-                $("body").append("<h2>"+segments[0]+"</h2>");
-                $("body").append(block);
-                $.get(segments[0]+".json").done(function(items) {
-                    $.each(items, function(k, item) {
-                        var element = $("<div/>");
-                        block.append(element);
-                        if(!item.schema.description) {
-                            item.schema.description = item.description;
-                        }
-                        docson.doc(element, item.schema, segments[1]);
-                    });
-                });
-            });
-        });
-    });
-</script>
-</body>
-</html>