Commit Graph

21 Commits

Author SHA1 Message Date
Aviv Palivoda
8f1df4697d Freeze stdlib by default in WASM 2019-07-24 20:54:44 +03:00
Aviv Palivoda
321e43d51b Add freeze-stdlib to wasm build 2019-07-24 20:51:22 +03:00
Windel Bouwman
6a58b76ef7 Change authors to team name. 2019-07-01 21:14:07 +02:00
Windel Bouwman
bedbad284e Change underscore into hyphen 2019-07-01 21:05:29 +02:00
Windel Bouwman
3954dbe716 Make parser and compiler optional features for vm crate. 2019-06-30 20:11:40 +02:00
coolreader18
9ac854aea5 Use serde_wasm_bindgen for wasm ser/de 2019-06-18 14:32:34 -05:00
coolreader18
801c864645 Bump WASM npm version 2019-04-21 11:30:40 -05:00
coolreader18
dac75019e5 Remove builtin_print_html, move functionality to JS 2019-03-11 19:18:21 -05:00
coolreader18
b5248fbd82 Fix Cargo.toml versions 2019-03-05 17:27:56 -06:00
coolreader18
c4513a176b Proper error handling for int to animationFrame id 2019-02-26 22:20:28 -06:00
coolreader18
d399faa425 Remove the console_error_panic_hook crate from Cargo.toml 2019-02-25 20:50:53 -06:00
coolreader18
955d0b3a91 Merge branch 'master' into wasm-vm-class 2019-02-22 22:53:34 -06:00
coolreader18
7405c842c8 Add some more options to fetch() 2019-02-17 08:49:19 -06:00
coolreader18
00bc9e9199 Convert fetch to use wasm_bindgen_futures 2019-02-17 01:12:38 -06:00
coolreader18
a86069d9f2 Store the WASM id in the VirtualMachine, add a (broken) fetch builtin 2019-02-16 23:41:41 -06:00
ZapAnton
f1654cb890 Migrated the project to the Rust 2018 edition 2019-02-14 12:02:32 +03:00
coolreader18
de3762cabf Add .run(); fix .addToScope(); add panic-catcher for debugging 2019-02-05 00:39:16 -06:00
coolreader18
4020ee7d41 Add a bare-bones VirtualMachine class to the WASM library 2019-01-30 12:18:59 -06:00
coolreader18
b2772804f2 Add README and manifest fields for the WASM library 2018-12-27 21:06:59 -06:00
coolreader18
2ea9dca40c Add example, change some stuff in the demo to align with example 2018-12-24 15:28:49 -06:00
coolreader18
ca30ebcf5d Genericize the wasm lib to not be specifically for the demo
This included changing RustObjectKind::RustFunction.function to be
a `Box<Fn()>` instead of a `fn()` to support closures.
2018-12-24 15:28:49 -06:00