diff --git a/TODO.md b/TODO.md index df6cf28..af3432c 100644 --- a/TODO.md +++ b/TODO.md @@ -1,3 +1,4 @@ ## TODO: 1. Port to [egui](https://github.com/emilk/egui) - - Proper support for dynamic chart display size. \ No newline at end of file + - Proper support for dynamic chart display size. + - Fix histogram \ No newline at end of file diff --git a/push.sh b/push.sh index 36f444b..4d7af72 100755 --- a/push.sh +++ b/push.sh @@ -6,10 +6,9 @@ wasm-pack build --target web --release rm -fr tmp | true #delete tmp folder if exists mkdir tmp tmp/pkg cp -r pkg/integral_site_bg.wasm pkg/integral_site_bg.wasm.d.ts pkg/integral_site.d.ts pkg/integral_site.js tmp/pkg/ -cp www/bootstrap.js www/index.html www/index.js www/style.css tmp/ -# mv tmp/www/index.html tmp/ +cp www/index.html www/style.css tmp/ -sed -i 's/\.\.\/pkg/\.\/pkg/g' tmp/bootstrap.js +sed -i 's/\.\.\/pkg/\.\/pkg/g' tmp/index.html # put the commit at the beginning of index.html mv tmp/index.html tmp/index.html.bak