NeilFraser / JS-Interpreter

A sandboxed JavaScript interpreter in JavaScript.
Apache License 2.0
1.96k stars 352 forks source link

Threads demo not working with acorn_interpreter.js #225

Closed derwehr closed 2 years ago

derwehr commented 2 years ago

When replacing

  <script src="../acorn.js"></script>
  <script src="../interpreter.js"></script>

with

  <script src="../acorn_interpreter.js"></script>

in thread.html#L7, like described in the documentation, the demo throws TypeError: Cannot read properties of undefined (reading 'object').

NeilFraser commented 2 years ago

Fixed. Thanks!