Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: web-sys output support #25

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

WIP: web-sys output support #25

wants to merge 8 commits into from

Conversation

sdobz
Copy link

@sdobz sdobz commented Dec 16, 2018

Missing:

  • Proper EventListenerHandle
  • Majority of events (whoops, I'll get to that)

Issues:
web-sys example wasm is built, I see error in firefox when I try to run:

Error loading Rust wasm module 'typed_html_web_sys_test': TypeError: "import object field '__wbindgen_placeholder__' is not an Object" typed-html-web-sys-test.js:46:21
TypeError: import object field '__wbindgen_placeholder__' is not an Object

Aside: The code of conduct references immutable.rs, I don't think this is intentional

@sdobz
Copy link
Author

sdobz commented Dec 20, 2018

cargo web does not support wasm-bindgen/web-sys at this time, so I've moved it over to use wasm-bindgen and no-module js loading.

Current status: dom loads and displays, events fail to execute (though they appear to be binding)

@dbrgn
Copy link

dbrgn commented Jan 21, 2019

@sdobz any news on web-sys support? 🙂 I'm also interested in this.

@bodil bodil force-pushed the master branch 2 times, most recently from 71623b7 to d2583f6 Compare February 22, 2019 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants