Alex Crichton
d4297ad2d3
Remove use_extern_macros
features
...
This has now been stabilized!
2018-08-19 14:33:01 -07:00
Nick Fitzgerald
64591ef403
Js sys use &str arguments ( #555 )
...
* js-sys: imports should take &str parameters instead of &JsString
* js-sys: Imports should take Option<&str> instead of Option<String>
2018-07-25 18:50:30 -05:00
Nick Fitzgerald
61fc8d2567
Js sys once over ( #550 )
...
* js-sys: Return `f64` instead of `Number`
* js-sys: remove trailing whitespace
* js-sys: Ensure that all imported types derive Clone and Debug
* js-sys: Imported functions should always take JS object arguments by-ref
2018-07-25 16:33:44 -05:00
Alex Crichton
906cd7adcc
Remove usage of wasm_import_module
feature
...
This is now stabilized! Also tweak usage of it to the stable version.
2018-07-21 19:00:40 -07:00
Alex Crichton
13cee9e264
Fix closures example
2018-07-20 12:09:30 -07:00
Alex Crichton
6eef5f7b52
Move the js
module to a js_sys
crate ( #512 )
...
* Move the `js` module to a `js_sys` crate
* Update js-sys tests to pass again
* Update binding_to_unimplemented_apis_doesnt_break_everything
Remove its dependency on the `js` module
* Update metadata for js-sys
* Fix the `closures` example
2018-07-19 14:30:58 -05:00
Alex Crichton
a949482e3a
Remove usage of #[wasm_custom_section] ( #509 )
...
This has been stabilized on nightly as `#[link_section]`, so no need for an
unstable attribute any more. Yay!
2018-07-19 08:57:18 -05:00
Alex Crichton
ed05c7b945
Fix compile on latest nightly ( #489 )
2018-07-17 09:11:30 -05:00
R. Andrew Ohana
9127a0419f
rustfmt all the things
2018-06-27 22:42:34 -07:00
Sendil Kumar
ef27cb6392
Add date constructor
2018-06-26 16:55:40 +02:00
Alex Crichton
a3e5485b86
Add examples/documentation for closures
2018-04-09 14:34:21 -07:00