Replace stdweb with wasm-bindgen, js-sys, and web-sys
Replaces stdweb (which is unmaintained) with a combination of wasm-bindgen, and js-sys web-sys (which are). Fixes #518.
@mitchmindtree
This is now ready for review. I strongly recommend to squash while merging due to the many failing commits. Let me know if you need me to do anything else.
There is a build failure.
Yeah, I need to get back into the code and actually fix the merge conflict. I'm not sure why the ios build fails though
ios fails on master too, so it's not a regression of this PR, so there is no requirement to fix it in here.
@brightly-salty Is there anything left in this PR that you consider unfinished? I look forward to merging this PR soon if there are no known issues, given that asmjs CI appears to be broken on master.
@ishitatsuyuki I'll look into it, but if I remember correctly there was some functionality in main that couldn't be fully matched with the replacement library.
This issue would probably fix the asmjs-wasm32 checks
The PR also needs a rebase. It's a good idea, and I like the direction of it.
If there is still interest in this PR in general, the rebase would be very messy I think. It might be easier to close this and start over with the newest versions of the replacement crates, since they probably have newer functionality I couldn't take into account 2 years ago.
Okay let's close this then :+1: .