I planned to share a demo of a smart chart http://coreasync.github.io/SMART-CHART (a chart which understands data tagged with different categories) however I run into some problems with boot2, but let's take it a step by step. So demo itself has wait until I get fixed following problems:
First of all, this is a source code: https://github.com/coreasync/SMART-CHART . It works quite well when run locally as
boot dev . However I face some issues after compiling it to static pages. Looks like
:optimizations :advanced somehow interacts with js script libraries. It produces a code resulting in a weird runtime errors. The root cause is probably related to the way I include JS libraries: https://github.com/coreasync/SMART-CHART/blob/master/src/index.cljs.hl#L164 into my project. The current work around is to disable
[RESOLVED] Another problem is related to GitHub gh-pages. Staticly generated code loads just fine from a local file system, but pushed into GitHub gh-pages stumbles on a file not being server properly by GitHub. Specifically this https://github.com/coreasync/SMART-CHART/blob/gh-pages/out/tailrecursion/hoplon/app_pages/_index_DOT_html.js results in 404: http://coreasync.github.io/SMART-CHART/out/tailrecursion/hoplon/app_pages/_index_DOT_html.js
[RESOLVED] It might be related to the depth or file name itself since this https://github.com/coreasync/SMART-CHART/blob/gh-pages/out/tailrecursion/hoplon.js or http://coreasync.github.io/SMART-CHART/out/tailrecursion/hoplon.js load just fine. I wonder if somebody run into this and if there is a hoplon/boot2 option to change path/fine name of generated JS.
[RESOLVED] gh-pages did not interact this way with JS produced by boot1.
I would appreciate some hints here.
Thanks in advance,