diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-08-18 17:03:47 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-18 17:03:47 -0700 |
commit | e168e2b9b6dd099c97c7ec313c3062d80fa1a9a8 (patch) | |
tree | ddeb962a1781f01dfb75cafc2b0d77f28de450f6 | |
parent | e5e3bf39f25ed3a2fb45a9ca1f55d6828d81a3eb (diff) | |
parent | 5e87de50ae9be4a3348623b7dc9c7d9cd7054fd9 (diff) | |
download | binaryen-e168e2b9b6dd099c97c7ec313c3062d80fa1a9a8.tar.gz binaryen-e168e2b9b6dd099c97c7ec313c3062d80fa1a9a8.tar.bz2 binaryen-e168e2b9b6dd099c97c7ec313c3062d80fa1a9a8.zip |
Merge pull request #677 from sethsamuel/patch-1
Update README.md with full hello_world.asm.js source
-rw-r--r-- | README.md | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -93,11 +93,15 @@ $ bin/asm2wasm test/hello_world.asm.js That input file contains ```javascript +function () { + "use asm"; function add(x, y) { x = x | 0; y = y | 0; return x + y | 0; } + return { add: add }; +} ``` You should see something like this: |