abstreet/widgetry_demo
Dustin Carlino 64bc4ee318
On the web, load different maps by making asynchronous HTTP calls. #21 (#364)
* On the web, load different maps by making asynchronous HTTP calls. #21

This is a very strange, specializd approach; it's unclear how it'll
generalize to reading scenarios and prebaked results. Ideally we could
call abstutil::read_binary as we currently do and somehow hide this async
trickery underneath, but I'm not sure how yet. In the meantime, this
moves us forward with the hack well-contained.

Next steps for web: stop bundling in all of data/system in the .wasm,
now that we can load from HTTP.
2020-10-08 10:51:13 -07:00
..
pkg On the web, load different maps by making asynchronous HTTP calls. #21 (#364) 2020-10-08 10:51:13 -07:00
src Fix mistake in git merge 2020-10-05 20:32:08 -07:00
Cargo.toml Switch from stdweb to websys for #21. 2020-10-05 19:50:52 -07:00
index.html Before the .wasm loads, display "Loading" 2020-10-07 23:02:10 -07:00
run_web.sh On the web, load different maps by making asynchronous HTTP calls. #21 (#364) 2020-10-08 10:51:13 -07:00