stdweb
stdweb copied to clipboard
A standard library for the client-side Web
I would like to execute everything in a web worker, but I couldn't find any docs about that.
The `js!` macro is truly a thing of terror, however we don't have much choice if we want to work on stable. That said, it would we worthwhile to convert...
With js_export, all errors in a function are reduced to be located at the #[js_export] annotation: without js_export: ``` error[E0308]: mismatched types --> src/lib.rs:27:71 | 27 | let mut writer...
FileList API
I noticed that the `files` property of `InputElement` was removed some time ago. Are there any thoughts on how this should be reimplemented? In the meantime, are there any quick...
Hey, I was thinking to use wasm in my project, but it is very small website and wanted to have fast load times. I tried compiling minimal example but I...
When using stdweb with WebAssembly.intantiate (the newer instantiateStreaming requires a webserver with wasm type; setting this up is not trivial), a second argument: importObject (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/instantiate) [is required]. What should this...
I think the documentation on the main page needs a full example of js_export use that includes how to import it, or one of the examples in the examples folder...

The [cookie api is an js extension](https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/cookies) but supports a lots of browsers. Do you think it is worth to adding it to stdweb?
I'm looking for feedback on the approach to subclassing input elements. This PR adds a custom `instanceof` implementation for input elements, and implements `FileInputElement`. Fixes #226.