Mercurial > personal > weather-server
diff weather_server/templates/location.html @ 16:9a609bcf0809
Port main script to TypeScript and prepare for serving it.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Sat, 12 Oct 2019 14:03:52 -0400 |
parents | 4eaa9d69c4e2 |
children | fdb874e0b270 |
line wrap: on
line diff
--- a/weather_server/templates/location.html Fri Oct 11 20:50:50 2019 -0400 +++ b/weather_server/templates/location.html Sat Oct 12 14:03:52 2019 -0400 @@ -39,13 +39,15 @@ {% else %} <p id="big-question-mark">?</p> {% endif %} - <script src="{{ url_for('static', filename='script.js') }}"></script> <!-- + <script src="{{ url_for('static', filename='amd/mad.js') }}"></script> + <script>new MADRegistry().install(self);</script> + <script src="{{ url_for('static', filename='graph.js') }}"></script> <script> - setUp( + require('graph').setUp( document.getElementById('temp'), document.getElementById('dewpoint')); </script> - --> + <!-- --> </body> </html>