Skip to content

Commit

Permalink
Merge pull request #37 from mrsmkl/master
Browse files Browse the repository at this point in the history
fixed function imports
  • Loading branch information
axic authored Apr 12, 2019
2 parents e4070b0 + 0e7c8f2 commit 17f64ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion json2wasm.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ const OPCODES = _exports.OPCODES = {

_exports.typeGenerators = {
'function': (json, stream) => {
stream.write([json])
leb.unsigned.write(json, stream)
},
table: (json, stream) => {
stream.write([LANGUAGE_TYPES[json.elementType]])
Expand Down

0 comments on commit 17f64ee

Please sign in to comment.