Skip to content

Commit

Permalink
Merge pull request phoboslab#273 from kresimirfijacko/fix-emcc-versio…
Browse files Browse the repository at this point in the history
…n-upgrade

Fix for Emscripten latest version
  • Loading branch information
phoboslab authored Feb 19, 2019
2 parents 4f21d11 + bbe0c31 commit afc1f38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/wasm-module.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ WASM.prototype.loadFromBuffer = function(buffer, callback) {
this.memory = new WebAssembly.Memory({initial: 256});
var env = {
memory: this.memory,
memoryBase: 0,
__memory_base: 0,
table: new WebAssembly.Table({initial: this.moduleInfo.tableSize, element: 'anyfunc'}),
tableBase: 0,
__table_base: 0,
abort: this.c_abort.bind(this),
___assert_fail: this.c_assertFail.bind(this),
_sbrk: this.c_sbrk.bind(this)
Expand Down

0 comments on commit afc1f38

Please sign in to comment.