mirror of https://github.com/dirtbags/moth.git
Resolve javascript race condition to ensure dependencies load first
This commit is contained in:
parent
5fa8c299ab
commit
38a30b3466
|
@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
## [v4.2.1] - unreleased
|
## [v4.2.1] - unreleased
|
||||||
### Fixed
|
### Fixed
|
||||||
- Transpiled KSAs no longer dropped
|
- Transpiled KSAs no longer dropped
|
||||||
|
- Resolve race condition to ensure Javascript dependencies load before "chart" is called
|
||||||
|
|
||||||
## [v4.2.0] - 2020-03-26
|
## [v4.2.0] - 2020-03-26
|
||||||
### Changed
|
### Changed
|
||||||
|
|
|
@ -4,9 +4,6 @@
|
||||||
<title>Scoreboard</title>
|
<title>Scoreboard</title>
|
||||||
<link rel="stylesheet" href="basic.css">
|
<link rel="stylesheet" href="basic.css">
|
||||||
<meta name="viewport" content="width=device-width">
|
<meta name="viewport" content="width=device-width">
|
||||||
<script src="moment.min.js" async></script>
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/chart.js@2.9.4/dist/Chart.min.js" async></script>
|
|
||||||
<script src="scoreboard.js" async></script>
|
|
||||||
</head>
|
</head>
|
||||||
<body class="wide">
|
<body class="wide">
|
||||||
<h4 id="location"></h4>
|
<h4 id="location"></h4>
|
||||||
|
@ -20,5 +17,9 @@
|
||||||
<li><a href="scoreboard.html">Scoreboard</a></li>
|
<li><a href="scoreboard.html">Scoreboard</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
|
<script src="moment.min.js"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/chart.js@2.9.4/dist/Chart.min.js"></script>
|
||||||
|
<script src="scoreboard.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue