Commit Graph

31 Commits

Author SHA1 Message Date
Ivan Enderlin
43de00b347 feat(js) Add ArrayBuffer::new, ::is_view & ::slice bindings. (#388)
* feat(js) Add `ArrayBuffer::new`, `::is_view` & `::slice` bindings.

* fix(js) Fix number units, comments, add `slice_with_end`.

* test(js) Fix a function name.
2018-07-04 13:53:49 -05:00
Alexander Kryvomaz
6e95ba20f1 bindings for Generator.next() 2018-07-03 23:42:49 +03:00
Alexander Kryvomaz
609bf34d60 bindings for encodeURIComponent 2018-07-01 15:59:12 +03:00
Alexander Kryvomaz
0f07dd9048 bindings for decodeURIComponent 2018-07-01 15:53:44 +03:00
Satoshi Amemiya
f9c804db20 Add support for js::Error 2018-06-29 23:24:46 +09:00
Nick Fitzgerald
5ff6329d29
Merge pull request #349 from jannikkeye/bindings-map
Add bindings for Map.xx
2018-06-28 15:46:07 -07:00
Nick Fitzgerald
e31da84bce
Merge pull request #340 from ohanar/rustfmt
Use rustfmt for standarized formatting
2018-06-28 15:17:23 -07:00
Jannik Keye
d868ff26ef Add bindings for Set.xx (#347)
* feat(Set): add Set.add

* feat(Set): add Set.clear

* feat(Set): add Set.delete

* feat(Set): add Set.has

* feat(Set): add Set.new

* feat(Set): add Set.size

* feat(Set/SetIterator): add Set.entries

* feat(Set/SetIterator): add Set.keys

* feat(Set/SetIterator): add Set.values
2018-06-28 15:57:49 -05:00
Jannik Keye
228abaa4ae feat(Map/MapIterator): add Map.entries 2018-06-28 21:58:34 +02:00
Jannik Keye
ab0546963b feat(Map): add Map.clear 2018-06-28 21:51:39 +02:00
R. Andrew Ohana
9127a0419f rustfmt all the things 2018-06-27 22:42:34 -07:00
Nick Fitzgerald
40722b7ae3
Merge pull request #333 from Hywan/js_boolean
feat(js) Implement `Boolean` bindings.
2018-06-27 14:36:00 -07:00
Dimitrii Nemkov
a0dda505d9 Added WeakSet constructor 2018-06-27 13:15:47 +05:00
Ivan Enderlin
91bc7a199c
feat(js) Implement Boolean bindings.
Cf https://github.com/rustwasm/wasm-bindgen/issues/275.
2018-06-27 09:07:47 +02:00
Nick Fitzgerald
919c2bedac
Merge pull request #318 from xeqlol/weakmap-bindings
WeakMap bindings
2018-06-26 12:55:30 -07:00
Alexander Kryvomaz
48061aaab6 bindings for Function.prototype.apply() and Function.prototype.toString() 2018-06-26 21:35:28 +03:00
Dimitrii Nemkov
a6d62c696f Merge branch 'master' into weakmap-bindings 2018-06-26 23:29:48 +05:00
Nick Fitzgerald
6dcbc4a0cc
Merge branch 'master' into date 2018-06-26 10:25:26 -07:00
Sendil Kumar
cd189d53c4 Add date value of 2018-06-26 16:55:36 +02:00
xeqlol
a369f7a246 WeakMap bindings 2018-06-26 13:12:32 +05:00
Tim Ryan
5925871a05 Adds support for the UInt8Array constructor and its fill method. 2018-06-26 00:34:17 -04:00
Jonathan Sundqvist
9633642e6e Add abs to Math 2018-06-25 22:52:04 +02:00
R. Andrew Ohana
35c5dafdd2 js globals: return JsString rather than String 2018-06-23 17:15:13 -07:00
Nick Fitzgerald
b1cbb56224
Merge branch 'master' into master 2018-06-23 16:19:08 -07:00
Alexander Kryvomaz
9e07c4935c bindings for Function.length and Function.name 2018-06-23 23:41:28 +03:00
Jonathan Sundqvist
a7f8e071fe Add the binding valueOf to number 2018-06-23 14:43:43 +02:00
kzvi
5ae6ee7aec add JsString binding to src/js.rs and tests 2018-06-22 17:51:44 -07:00
Matt Long
4cc73877a6 add binding for keys method 2018-06-21 17:00:02 -04:00
Matt Long
4a96ba3c72 add binding for indexOf 2018-06-20 17:23:38 -04:00
Nick Fitzgerald
7b0e779ffd test: remove unnecessary test.ts files
The testing infrastructure will add exactly this default `test.ts` when it isn't
explicitly specified.
2018-06-19 10:17:42 -07:00
Nick Fitzgerald
a201cafdea test: Move Object-related js_globals tests to submodule file 2018-06-19 10:15:09 -07:00