Skip to content

Conversation

@pvanhaes
Copy link

Hi,
There was a problem when trying to import a generated grammar using importScript inside a web worker.
By declaring the grammar inside the self scope instead of window this should fix the issue without having any unintended effect for other use cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant