wasm-bindgen icon indicating copy to clipboard operation
wasm-bindgen copied to clipboard

web-sys examples broken since 0.2.81

Open jhinch opened this issue 3 years ago • 3 comments

Describe the Bug

It appears as though all of the live web-sys examples in the wasm-bindgen guide are not working and confirmed they were not working when running locally as well. Examples tested which are not working:

  • https://rustwasm.github.io/wasm-bindgen/examples/dom.html
  • https://rustwasm.github.io/wasm-bindgen/examples/paint.html
  • https://rustwasm.github.io/wasm-bindgen/examples/todomvc.html

It seems like other live examples are still working such as the hello_world example

  • https://rustwasm.github.io/wasm-bindgen/exbuild/hello_world/

Steps to Reproduce

  1. Checkout main of wasm-bindgen
  2. cd examples/dom
  3. npm install
  4. npm run serve
  5. Open http://localhost:8080 in your browser
  6. See that 'Hello rust!' is never appended to the page

Expected Behavior

examples/dom is expected to append a

tag with the text hello rust!

Actual Behavior

Nothing happens

Additional Context

I ran a git bisect between 0.2.80 and the tip of main and it found 062aa5f70a1e8a170d0ae90123ebdeb3242ac782 as the first bad commit

jhinch avatar Jun 24 '22 07:06 jhinch

I think this was caused by #2961, so it should be fixed now.

Liamolucko avatar Jul 08 '22 11:07 Liamolucko

@Liamolucko Is there any plan to draft a new release ?

gengjiawen avatar Jul 20 '22 15:07 gengjiawen

@Liamolucko Is there any plan to draft a new release ?

0.2.82 was just released (in #3002)

Liamolucko avatar Jul 25 '22 23:07 Liamolucko