Commit 935cf8fa5bf1fa8accb03404084eb4c6f1a187aa
cleanup
wanderer committed on 9/13/2016, 5:32:31 PMParent: 410bf961ea8b42dea73d52435bec504893649c03
Files changed
interface.js | changed |
interface.js | ||
---|---|---|
@@ -16,14 +16,13 @@ | ||
16 | 16 | constructor (environment) { |
17 | 17 | this.environment = environment |
18 | 18 | const shimBin = fs.readFileSync(path.join(__dirname, '/wasm/interface.wasm')) |
19 | 19 | const shimMod = WebAssembly.Module(shimBin) |
20 | - const shims = WebAssembly.Instance(shimMod, { | |
20 | + this.shims = WebAssembly.Instance(shimMod, { | |
21 | 21 | 'interface': { |
22 | 22 | 'useGas': this._useGas.bind(this) |
23 | 23 | } |
24 | 24 | }) |
25 | - this.shims = shims | |
26 | 25 | } |
27 | 26 | |
28 | 27 | get exportTable () { |
29 | 28 | let exportMethods = [ |
Built with git-ssb-web