Reorder site template scripts
Committed 9bb4a2
--- a/canopy/templates/template.html
+++ b/canopy/templates/template.html
const source = audioContext.createMediaStreamSource(mediaStream)
source.connect(recognizerProcessor)
}
-</script>
-
-<script src=/chats/resources/js/antiglobal.js></script>
-<script>
-window.localStorage.setItem('debug', '* -engine* -socket* -RIE* *WARN* *ERROR*')
-if (window.antiglobal) {
- window.antiglobal('___browserSync___oldSocketIo', 'io', '___browserSync___', '__core-js_shared__')
- setInterval(window.antiglobal, 180000)
-}
function initChat() {
var tag = document.createElement('script')
}
</script>
+<script src=/chats/resources/js/antiglobal.js></script>
+<script>
+window.localStorage.setItem('debug', '* -engine* -socket* -RIE* *WARN* *ERROR*')
+if (window.antiglobal) {
+ window.antiglobal('___browserSync___oldSocketIo', 'io', '___browserSync___', '__core-js_shared__')
+ setInterval(window.antiglobal, 180000)
+}
+</script>
+
<script>
window.onload = () => {
const listenTrigger = document.querySelector('button#listen')