Alex Crichton
6c27376ac2
Run rustfmt
2020-01-07 08:16:25 -08:00
Pauan
221514acb9
Adding in Array::iter and Array::to_vec ( #1909 )
...
* Adding in Array::iter and Array::to_vec
* Changing ArrayIter to use std::ops::Range
2019-12-17 11:40:33 -06:00
lshlyapnikov
d51f539d1a
Add an unsafe method view_mut_raw ( #1850 )
...
* adding .vscode folder to .gitignore
* Adding view_mut_raw to generated arrays
* test populating rust vector from JS function
* Uint32Array test, need to make it generic
* Add doc + more test cases
* replacing macro-generated tests with generic test function
it is cleaner, safer and better that way
* improving rustdoc
2019-11-06 12:37:26 -06:00
Alex Crichton
513285f73d
Run rustfmt
2019-10-28 20:15:05 -07:00
Pauan
ba85275d7d
Adding in more methods for Array ( #1749 )
2019-09-04 11:46:33 -05:00
Teddy Katz
5c5c13cf9e
Add Array#flat and Array#flatMap to js-sys ( fixes #1454 )
2019-06-03 18:32:58 -04:00
Alex Crichton
7ecf4aae87
cargo +nightly fmt --all
...
Rustfmt all the things!
2018-09-26 08:26:00 -07:00
Matt Kraai
687412ec50
Test for AsRef implementations
...
Part of #670
2018-08-17 13:09:30 -07:00
Nick Fitzgerald
95c55d0b4c
js-sys: Add bindings to Array.of
2018-08-10 10:29:22 -07:00
Nick Fitzgerald
f8af399301
Merge branch 'master' into extends_object
2018-08-09 10:57:15 -07:00
sepiropht
e9e7072687
[670] add extends for Array type
2018-08-09 14:35:44 +02:00
Andrew Chin
cc8095d065
Add extends attributes for several types
...
Part of #670
2018-08-08 23:16:57 -04:00
Joel Gallant
01194558bf
Adds Array.prototype.splice()
to js-sys ( #571 )
2018-07-27 10:07:21 -07: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
efd6b2abac
Migrate Array tests to wasm-bindgen-test
2018-07-20 11:48:57 -07:00