1d4b58419e
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.
35 lines
990 B
HTML
35 lines
990 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" id="viewport" content="width=device-width" />
|
|
<link href="graphs-base.css" rel="stylesheet" />
|
|
<link href="graphs.css" rel="stylesheet" />
|
|
<script src="graphs.js"></script>
|
|
</head>
|
|
<body>
|
|
<div id="main"></div>
|
|
|
|
<script>
|
|
anki.graphs(
|
|
document.getElementById("main"),
|
|
[
|
|
anki.TodayStats,
|
|
anki.FutureDue,
|
|
anki.CalendarGraph,
|
|
anki.ReviewsGraph,
|
|
anki.CardCounts,
|
|
anki.IntervalsGraph,
|
|
anki.EaseGraph,
|
|
anki.HourGraph,
|
|
anki.ButtonsGraph,
|
|
anki.AddedGraph,
|
|
],
|
|
{
|
|
controller: anki.RangeBox,
|
|
}
|
|
);
|
|
</script>
|
|
</body>
|
|
</html>
|