anki/ts/deck-options/deck-options.html
Damien Elmes 1d4b58419e add workaround for protobufjs requiring uppercase package names
I mourn the time lost trying to track this down :-(

https://github.com/protobufjs/protobuf.js/issues/1014

We can't patch the minified file in dist without essentially duplicating
it, so this change also switches from the external file to including
the src file as part of the bundle.
2021-07-10 15:24:01 +10:00

21 lines
634 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" id="viewport" content="width=device-width" />
<link href="deck-options-base.css" rel="stylesheet" />
<link href="deck-options.css" rel="stylesheet" />
<script src="../js/vendor/bootstrap.bundle.min.js"></script>
<script src="deck-options.js"></script>
</head>
<body>
<div id="main"></div>
<script>
if (window.location.hash.startsWith("#test")) {
anki.deckOptions(document.getElementById("main"), 1);
}
</script>
</body>
</html>