summaryrefslogtreecommitdiff
path: root/docs/demo/libwabt.js
Commit message (Collapse)AuthorAgeFilesLines
* Enable features in libwabt.js by default (#2109)Marcus Better2022-12-271-13/+12
| | | | | | | | | | This applies the same defaults for features in the JavaScript-compiled version as the native tools. Without this change, enabling only the "reference_types" feature did not work, as it got turned off due to the dependency on "bulk_memory", which is counter-intuitive (see Features::UpdateDependencies()). Additionally, exposes all the features and their default setting in JavaScript.
* WastLexer: log lexing errors directly (#2013)Keith Winstein2022-10-031-36/+14
| | | | | * Log all lexing errors in WastLexer (rather than via parser) * Update docs/demo/libwabt.js
* Update libwabt.js (#1907)Ben Smith2022-04-281-9/+13
|
* Fix emscripten build; rebuild libwabt.js (#1583)Ben Smith2020-12-041-18/+17
| | | Not sure how this line got removed...
* Update libwabt.js; fix some runtime issues (#1468)Ben Smith2020-06-181-11/+11
| | | | | | | libwabt.js is meant to be included in multiple environments (web, node.js, etc.) so it shouldn't be using NODERAWFS. A recent change to the build system include `-s NODERAWFS` for all link steps, but those are only needed for the wabt executables (e.g. wasm2wast.js).
* Update emscripten build after SIMD changeBen Smith2020-05-051-10/+10
|
* Update JS demos (#1398)Ben Smith2020-04-271-17/+34
| | | | | | * Recompile libwabt.js using latest emscripten * Add features checkbox for wasm2wat (like wat2wasm) * Remove call to `_wabt_resolve_names_module`, since that's always done now when parsing text
* Move documentation to docs/ directoryBen Smith2020-01-171-0/+43
It's easier to update than gh-pages