Commit 8acbfdf6688be5aabb51397bfe951bb0997b1c8b
Merge branch 'jsApi' into testing
wanderer committed on 9/12/2016, 9:27:06 PMParent: a860393bda1e07cc7f9e902b5f299f989a3fa198
Parent: 7c4f6e88e8f137e372d224b9bca84d1803616938
Files changed
index.js | changed |
package.json | changed |
index.js | ||
---|---|---|
@@ -43,10 +43,10 @@ | ||
43 | 43 | // NOTE: it assumes that wasm will raise an exception if something went wrong, |
44 | 44 | // otherwise execution succeeded |
45 | 45 | codeHandler (code, ethInterface = new Interface(new Environment())) { |
46 | 46 | const debugInterface = new DebugInterface(ethInterface.environment) |
47 | - const module = WebAessembly.Module(code) | |
48 | - const instance = WebAessembly.Instance(module, { | |
47 | + const module = WebAssembly.Module(code) | |
48 | + const instance = WebAssembly.Instance(module, { | |
49 | 49 | 'ethereum': ethInterface.exportTable, |
50 | 50 | 'debug': debugInterface.exportTable, |
51 | 51 | |
52 | 52 | // export this for Rust |
Built with git-ssb-web