Mercurial > web
comparison music.html @ 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 | b3d3ac6f8c9d |
comparison
equal
deleted
inserted
replaced
58:e6c574c6f8e0 | 59:d1e77bf4b37f |
---|---|
36 } | 36 } |
37 a:link, a:visited, a:hover, a:active { | 37 a:link, a:visited, a:hover, a:active { |
38 color: #ff6600; | 38 color: #ff6600; |
39 } | 39 } |
40 </style> | 40 </style> |
41 <script type="application/javascript" src="./js/chiptune2.js"></script> | |
42 <script type="application/javascript" src="./js/libopenmpt.js"></script> | |
43 <script nonce="paper-web-inline"> | 41 <script nonce="paper-web-inline"> |
44 window['libopenmpt'] = {}; | 42 window['libopenmpt'] = {}; |
45 | 43 |
46 libopenmpt.locateFile = function(filename) { | 44 libopenmpt.locateFile = function(filename) { |
47 return "./js/" + filename; | 45 return "./js/" + filename; |
85 loadURL(evt.target.getAttribute("data-modurl")); | 83 loadURL(evt.target.getAttribute("data-modurl")); |
86 }, false); | 84 }, false); |
87 }); | 85 }); |
88 }; | 86 }; |
89 </script> | 87 </script> |
88 <script type="application/javascript" src="./js/chiptune2.js"></script> | |
89 <script type="application/javascript" src="./js/libopenmpt.js"></script> | |
90 </head> | 90 </head> |
91 <body> | 91 <body> |
92 <div class="navbar-wrapper"> | 92 <div class="navbar-wrapper"> |
93 <div class="container"> | 93 <div class="container"> |
94 <div class="navbar navbar-inverse"> | 94 <div class="navbar navbar-inverse"> |