mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
Load graphs.js from head
* Also move script into body, to be a valid HTML document
This commit is contained in:
parent
aeb6de9166
commit
3d4323b1d4
1 changed files with 23 additions and 22 deletions
|
@ -4,12 +4,12 @@
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" id="viewport" content="width=device-width" />
|
<meta name="viewport" id="viewport" content="width=device-width" />
|
||||||
<link href="graphs.css" rel="stylesheet" />
|
<link href="graphs.css" rel="stylesheet" />
|
||||||
|
<script src="../js/vendor/protobuf.min.js"></script>
|
||||||
|
<script src="graphs.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="main"></div>
|
<div id="main"></div>
|
||||||
</body>
|
|
||||||
<script src="../js/vendor/protobuf.min.js"></script>
|
|
||||||
<script src="graphs.js"></script>
|
|
||||||
<script>
|
<script>
|
||||||
anki.graphs(
|
anki.graphs(
|
||||||
document.getElementById("main"),
|
document.getElementById("main"),
|
||||||
|
@ -30,4 +30,5 @@
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
</script>
|
</script>
|
||||||
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue