diff options
Diffstat (limited to 'demo/demo.js')
-rw-r--r-- | demo/demo.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demo/demo.js b/demo/demo.js index ccdb5244..0f9eb8fb 100644 --- a/demo/demo.js +++ b/demo/demo.js @@ -54,7 +54,7 @@ function compile(text) { wabt.ready.then(function() { output.textContent = ''; try { - var script = wabt.parseAst('test.wast', text); + var script = wabt.parseWast('test.wast', text); script.resolveNames(); script.validate(); var binaryOutput = script.toBinary({log: true}); |