diff options
author | Aki <please@ignore.pl> | 2021-05-11 23:42:23 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2021-05-11 23:42:23 +0200 |
commit | f49a11e686addcd8e3ce5160a0170c7bdb01f4bd (patch) | |
tree | e23e761692c574444efce39c18fa06d68ca63be5 | |
parent | ae274a3d86a9489395b55bcefe7d6fd3f1b17c2f (diff) | |
download | field-f49a11e686addcd8e3ce5160a0170c7bdb01f4bd.zip field-f49a11e686addcd8e3ce5160a0170c7bdb01f4bd.tar.gz field-f49a11e686addcd8e3ce5160a0170c7bdb01f4bd.tar.bz2 |
Moving js side slightly towards more libarary-like model
-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}} |