Closed mattpap closed 8 years ago
Actually play-json is also a problem, thought this one perhaps could be cross-compiled.
A bonus idea is to not serialize to JSON, but generate JS directly (using backbone's API), as on optional feature. Thought, I'm not sure if this is feasible and a good idea in general.
Investigate using soda-time instead of joda-time. soda-time is pure Scala with scala.js support.
breeze
and joda-time
aren't hard dependencies anymore, so the remaining bit is to replace play-json
. Currently the best bet is using upickle
.
We can now cross-compile bokeh to JavaScript.
scala.js doesn't allow non-JS dependencies (obviously), so all bokeh's dependencies would have to be cross-compiled with scala.js or made optional. bokeh currently depends on breeze and joda-time, both which can't be cross-compiled, so this feature is blocked on issue #4.