editor icon indicating copy to clipboard operation
editor copied to clipboard

Script Parsing Error

Open marklundin opened this issue 2 years ago • 0 comments

Scripts are currently parsed and executed in the editor in a worker, which lack access to the window object and any DOM api's. Any script that references an API not available to a worker will fail to parse, even though it may be valid code.

This has limited scope in current scripts, but with modules which may have multiple nested dependencies, this will beomce more prominent.

steps to repro

  1. Open this project
  2. Click parse on the parse-me.js script.

marklundin avatar Feb 14 '24 12:02 marklundin