changeset 59:d1e77bf4b37f

music: move inline script to before libopenmpt is loaded
author Paper <mrpapersonic@gmail.com>
date Mon, 19 Dec 2022 18:50:46 -0500
parents e6c574c6f8e0
children de0de92b6f32
files .build.yml music.html
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/.build.yml	Mon Dec 19 18:31:02 2022 -0500
+++ b/.build.yml	Mon Dec 19 18:50:46 2022 -0500
@@ -7,6 +7,6 @@
 tasks:
 - package: |
     cd web
-    tar -cvz . > ../site.tar.gz
+    tar -cvz . --exclude=./.hg > ../site.tar.gz
 - upload: |
     hut pages publish -d $site site.tar.gz
\ No newline at end of file
--- a/music.html	Mon Dec 19 18:31:02 2022 -0500
+++ b/music.html	Mon Dec 19 18:50:46 2022 -0500
@@ -38,8 +38,6 @@
 			color: #ff6600;
 		}
 	</style>
-	<script type="application/javascript" src="./js/chiptune2.js"></script>
-	<script type="application/javascript" src="./js/libopenmpt.js"></script>
 	<script nonce="paper-web-inline">
 		window['libopenmpt'] = {};
 
@@ -87,6 +85,8 @@
 			});
 		};
 	</script>
+	<script type="application/javascript" src="./js/chiptune2.js"></script>
+	<script type="application/javascript" src="./js/libopenmpt.js"></script>
 </head>
 <body>
     <div class="navbar-wrapper">