Our HTML and JavaScript code for setting up the web-viewer is currently duplicated across four files:
❯ rg wasm_bindgen.WebHandle
scripts/demo_assets/static/index.js
41: let handle = new wasm_bindgen.WebHandle();
web_viewer/index_bundled.html
186: let handle = new wasm_bindgen.WebHandle();
web_viewer/index.html
189: let handle = new wasm_bindgen.WebHandle();
this makes it tedious and error prone to work to update. It's not a lot of code though, so perhaps it's fine for now.
Our HTML and JavaScript code for setting up the web-viewer is currently duplicated across four files:
this makes it tedious and error prone to work to update. It's not a lot of code though, so perhaps it's fine for now.