diff options
-rw-r--r-- | view.tmpl | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -21,5 +21,8 @@ <input type="range" id="timeline"> </div> </div> -<script type="module" src="/derelict.js"></script> +<script type="module"> +import { init } from '/derelict.js' +init({id: "{{.Id}}", container: document.getElementById('container'), toolbar: document.getElementById('toolbar')}) +</script> {{end}} |