Commit Graph

723 Commits

Author SHA1 Message Date
R. Andrew Ohana
de11ec1c31
Merge pull request #298 from belfz/expose-bindings/object-value-of
implements Object.prototype.valueOf() binding
2018-06-23 15:39:56 -07:00
Alexander Kryvomaz
9e07c4935c bindings for Function.length and Function.name 2018-06-23 23:41:28 +03:00
Jonathan Sundqvist
6b5974d1bd Add toLocaleString to Number 2018-06-23 19:03:55 +02:00
Jonathan Sundqvist
f636f7b28d Add toPrecision to Number 2018-06-23 18:18:58 +02:00
Jonathan Sundqvist
bf56d5815b Add the binding of to_string to Number 2018-06-23 17:38:13 +02:00
Jonathan Sundqvist
a7f8e071fe Add the binding valueOf to number 2018-06-23 14:43:43 +02:00
belfz
e255925292 implements Object.prototype.valueOf() binding 2018-06-23 12:11:46 +02:00
R. Andrew Ohana
d79f982a01
Merge pull request #295 from kzvi/js-class-attr
add js_class attribute for defining what class an imported method is for
2018-06-22 21:38:14 -07:00
kzvi
5ae6ee7aec add JsString binding to src/js.rs and tests 2018-06-22 17:51:44 -07:00
Nick Fitzgerald
5f1206445d
Merge pull request #294 from fitzgen/more-docs
Fill in some doc comments + tidy up some things
2018-06-22 12:59:17 -07:00
kzvi
2cfffc65d7 add js_class attribute for defining what class an imported method is for 2018-06-22 12:12:43 -07:00
Nick Fitzgerald
3bce3fb7a5 backend: Tidy up whitespace
* Remove trailing space on line.
* Ensure that there is a newline at the end of the file.
2018-06-22 11:14:33 -07:00
Nick Fitzgerald
24f72c9680 backend: Remove unused import from ast module 2018-06-22 11:14:16 -07:00
Nick Fitzgerald
c63d57f6d7 Add some more doc comments 2018-06-22 11:10:37 -07:00
Nick Fitzgerald
a804a0e634 Merge branch 'rollup' 2018-06-22 10:57:27 -07:00
Jonathan Sundqvist
99ee74d153 Add binding for concat 2018-06-22 10:55:50 -07:00
Nick Fitzgerald
7825122feb Merge branch 'expose-bindings/object-to-locale-string' of https://github.com/belfz/wasm-bindgen into rollup 2018-06-22 10:51:17 -07:00
Nick Fitzgerald
ce14de21c3 Merge branch 'array-method' of https://github.com/jonathan-s/wasm-bindgen into rollup 2018-06-22 10:45:33 -07:00
belfz
39465c896c implements Object.prototype.toLocaleString() binding 2018-06-22 13:36:44 +02:00
Jonathan Sundqvist
a7bb555944 Add Sort to Array 2018-06-22 09:01:41 +02:00
Jonathan Sundqvist
de4eea119d Make array methods in alphabetical order 2018-06-22 08:59:11 +02:00
robertdurst
a9ca64b689 Implement Array.length binding 2018-06-21 21:30:57 -07:00
Nick Fitzgerald
9e01e67aa3
Merge pull request #289 from wismer/array-iterator-method-bindings
Array iterator method bindings
2018-06-21 15:24:25 -07:00
Nick Fitzgerald
22feded106
Merge pull request #288 from belfz/expose-bindings/object-has-own-property-allow-jsvalue
allows using &JsValue as an arg to Object's has_own_property
2018-06-21 15:21:54 -07:00
Matt Long
a95476a8ee add binding for entries method 2018-06-21 17:21:35 -04:00
Matt Long
4cc73877a6 add binding for keys method 2018-06-21 17:00:02 -04:00
belfz
dd3740e2fb allows using &JsValue as an arg to Object's has_own_property 2018-06-21 22:51:30 +02:00
Nick Fitzgerald
0b29721194
Merge pull request #285 from belfz/expose-bindings/object-property-is-enumerable
implements Object.prototype.propertyIsEnumerable() binding
2018-06-21 13:39:09 -07:00
belfz
420eaffcb3 adds missing unit tests for property_is_enumerable 2018-06-21 21:32:03 +02:00
belfz
1e1276410a implements Object.prototype.isPrototypeOf() binding 2018-06-21 13:56:24 +02:00
R. Andrew Ohana
6ef817b350
Merge pull request #283 from robertDurst/basic-usage-md
Basic Usage md clarification
2018-06-21 00:14:13 -07:00
R. Andrew Ohana
bab5bd79a0
Merge pull request #284 from belfz/expose-bindings/object-is-prototype-of
implements Object.isPrototypeOf binding
2018-06-21 00:12:10 -07:00
belfz
77ad68673c implements Object.isPrototypeOf binding 2018-06-21 07:36:24 +02:00
robertdurst
652dab0abf Basic Usage md clarification 2018-06-20 21:27:30 -07:00
Nick Fitzgerald
669ed4d644
Merge pull request #282 from wismer/non-closure-array-bindings
Non closure array bindings
2018-06-20 16:36:22 -07:00
Matt Long
a8cd428850 add binding for includes 2018-06-20 18:36:10 -04:00
Matt Long
eb6c2a239c add binding for toString 2018-06-20 18:23:26 -04:00
Matt Long
3cf522d2df add bindings for unshift 2018-06-20 18:07:30 -04:00
Matt Long
68acbeab25 add binding for shift 2018-06-20 18:03:26 -04:00
Matt Long
d705cd8bbf add binding for reverse 2018-06-20 18:00:58 -04:00
Matt Long
4611d7bdba add binding for push 2018-06-20 17:58:15 -04:00
Matt Long
73081180cd add binding for pop 2018-06-20 17:55:25 -04:00
Matt Long
2f6f734216 add binding for copyWithin 2018-06-20 17:51:02 -04:00
Matt Long
d155136f0e add binding for fill 2018-06-20 17:49:34 -04:00
Matt Long
e8bb0c2f98 add binding for slice 2018-06-20 17:46:10 -04:00
Matt Long
0b80888c0d add binding for join 2018-06-20 17:38:47 -04:00
Matt Long
667733e929 add binding for lastIndexOf 2018-06-20 17:36:35 -04:00
Matt Long
4a96ba3c72 add binding for indexOf 2018-06-20 17:23:38 -04:00
Nick Fitzgerald
289f2a88cf
Merge pull request #278 from jonathan-s/to_string
Js binding for to_string
2018-06-20 13:26:52 -07:00
Jonathan Sundqvist
d89c7958eb Js binding for to_string 2018-06-20 21:55:41 +02:00