Commit Graph

2183 Commits

Author SHA1 Message Date
LachezarLechev
a211e4af9c [examples] performance - port to rust 2018 2018-12-12 08:14:08 +01:00
LachezarLechev
55f199ee77 [examples] paint - port to rust 2018 2018-12-12 08:12:51 +01:00
LachezarLechev
e1d11fda95 [examples] no_modules - port to rust 2018 2018-12-12 08:11:18 +01:00
LachezarLechev
dd82cd4722 [examples] julia_set - port to rust 2018 2018-12-12 08:10:02 +01:00
Alex Crichton
82b322a12f
Merge pull request #1103 from T5uku5hi/port-examples-to-rust-2018
Port dom, fetch, guide-supported-types-examples, import_js examples to Rust 2018 edition
2018-12-11 16:37:16 -06:00
T5uku5hi
b6db977795 removed extern crate lines 2018-12-12 07:14:26 +09:00
T5uku5hi
0003fc9115 remove unnecessary lines 2018-12-12 06:56:09 +09:00
Alex Crichton
c92b261fc4
Merge pull request #1107 from andrehjr/port-rust-2018-edition-v3
Port raytrace-parallel and wasm2js to rust 2018 edition
2018-12-11 15:48:50 -06:00
Alex Crichton
c6b74ffb43
Merge pull request #1106 from mvlabat/default-support
Add support for importing default exports
2018-12-11 15:48:10 -06:00
André Luis Leal Cardoso Junior
9aa15bf600 Update wasm2js to rust 2018 2018-12-11 19:31:50 -02:00
André Luis Leal Cardoso Junior
bfcecb426e Update raytrace-parallel to rust 2018 2018-12-11 19:28:11 -02:00
mvlabat
371e864509 Add support for importing default exports 2018-12-11 21:00:00 +02:00
Nick Fitzgerald
01fa5dd6c9
Merge pull request #1102 from andrehjr/port-rust-2018-edition-v2
Port WebGL, webaudio, wasm-in-wasm, and todomvc examples to Rust 2018 edition
2018-12-11 12:09:36 -05:00
T5uku5hi
7cf2942e25 [examples] import_js - port to rust 2018 2018-12-12 00:53:11 +09:00
T5uku5hi
56b3e0a318 run cargo fix --edition-idioms 2018-12-12 00:51:23 +09:00
T5uku5hi
48cc61147b [examples] guide-supported-types-examples - port to rust 2018 2018-12-12 00:50:41 +09:00
T5uku5hi
2d9dcf6ace run cargo fix --edition-idioms 2018-12-12 00:48:10 +09:00
T5uku5hi
f148164cd3 [examples] fetch - port to rust 2018 2018-12-12 00:47:22 +09:00
T5uku5hi
b2afc0e38a run cargo fix --edition-idioms 2018-12-12 00:40:00 +09:00
André Luis Leal Cardoso Junior
2c30818b7c Update todomvc example to the 2018 edition 2018-12-11 13:39:36 -02:00
T5uku5hi
493130ee36 [examples] dom - port to rust 2018 2018-12-12 00:39:22 +09:00
André Luis Leal Cardoso Junior
a8fb4c3bf8 Update wasm-in-wasm example to the 2018 edition 2018-12-11 13:36:24 -02:00
André Luis Leal Cardoso Junior
00d4c6b5a5 Update webaudio example to the 2018 edition 2018-12-11 13:36:08 -02:00
André Luis Leal Cardoso Junior
67c99a8b08 Update webgl example to the 2018 edition 2018-12-11 13:35:48 -02:00
Alex Crichton
639724a85e
Merge pull request #1100 from elpiel/port-examples-to-rust-2018
Port examples - console-log, closures and duck-typed-interfaces to Rust 2018
2018-12-11 08:53:35 -05:00
Alex Crichton
6eeb54bf9c
Merge pull request #1101 from andrehjr/port-rust-2018-edition-examples-v1
Port examples: add, canvas, char and hello_world to rust 2018 edition examples
2018-12-11 08:52:48 -05:00
LachezarLechev
90ed520394 [examples] closure - remove unnecessary use statement 2018-12-11 14:50:27 +01:00
André Luis Leal Cardoso Junior
c6a9d4851a Remove extra web_sys call 2018-12-11 11:50:25 -02:00
André Luis Leal Cardoso Junior
ceb269b28a run cargo fix --edition-idioms 2018-12-11 08:53:21 -02:00
LachezarLechev
573c14118a [examples] duck-typed-interfaces - port to rust 2018 2018-12-11 08:45:26 +01:00
LachezarLechev
7107a896da [examples] closures - port to rust 2018 2018-12-11 08:39:49 +01:00
LachezarLechev
26737a2888 [examples] console_log - port to rust 2018 2018-12-11 08:37:53 +01:00
André Luis Leal Cardoso Junior
88c8b9059e Add edition 2018 to Cargo.toml 2018-12-10 23:44:59 -02:00
Alex Crichton
3d2f548ce2
Merge pull request #1098 from fitzgen/raf-loop-example
examples: Add a requestAnimationFrame loop example
2018-12-10 14:54:08 -08:00
Nick Fitzgerald
77ddf5ebcd examples: Add a requestAnimationFrame loop example 2018-12-10 12:50:19 -08:00
Alex Crichton
350112a77f
Merge pull request #1096 from rustwasm/dependabot/cargo/rouille-3.0.0
Update rouille requirement from 2.1.0 to 3.0.0
2018-12-10 10:56:47 -08:00
dependabot[bot]
1610d199e3
Update rouille requirement from 2.1.0 to 3.0.0
Updates the requirements on [rouille](https://github.com/tomaka/rouille) to permit the latest version.
- [Release notes](https://github.com/tomaka/rouille/releases)
- [Changelog](https://github.com/tomaka/rouille/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tomaka/rouille/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-10 08:16:06 +00:00
Alex Crichton
7768328fc4
Merge pull request #1084 from David-OConnor/master
Added an --out-name param to the CLI, to allow custom output file names
2018-12-04 23:16:36 -05:00
DavidOConnor
a4bc5049c6 Added an --out-name param to the CLI, to allow custom output file names 2018-12-04 21:35:05 -05:00
Alex Crichton
5665a0e6c0
Merge pull request #1081 from alexcrichton/bump
Bump to 0.2.29
2018-12-04 08:24:14 -06:00
Alex Crichton
63e3ba722d Bump to 0.2.29 2018-12-04 06:04:47 -08:00
Alex Crichton
23f98dbfe0 Try to fix CI examples build 2018-12-03 10:38:55 -08:00
Alex Crichton
a9eb20b4dc
Merge pull request #1080 from tw1t611/fix-todomvc
Fix todomvc
2018-12-03 05:10:09 -06:00
Daniel Schindler
53c65039b9 Change module import 2018-12-03 11:37:30 +01:00
Daniel Schindler
a25925346a Add index.css to build 2018-12-02 21:22:37 +01:00
Alex Crichton
46f70d3630
Merge pull request #1073 from daxpedda/patch-1
Fix typo in "wasm_bindgen::JsCast" trait docs
2018-12-01 13:17:11 -06:00
daxpedda
4105f7988b
Fix typo in "wasm_bindgen::JsCast" trait docs
This method will return `Err(self)` **is** `self.is_instance_of::<T>()` returns `false`
should be
This method will return `Err(self)` **if** `self.is_instance_of::<T>()` returns `false`
2018-12-01 12:22:39 +01:00
Alex Crichton
0e1494f2a6
Merge pull request #1072 from alexcrichton/dense
Ensure our JS heap is a dense array
2018-11-30 16:00:52 -06:00
Alex Crichton
30f52f7608
Merge pull request #1071 from ibaryshnikov/master
fixed link to compiled raytrace-parallel in examples
2018-11-30 15:24:36 -06:00
Alex Crichton
a83c3af4bf Ensure our JS heap is a dense array
Turns out `heap.fill(undefined)` is required to ensure it's a dense
array, otherwise we'll accidentally be a sparse array and much slower
than necessary!
2018-11-30 13:23:41 -08:00