Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deno: Use globalThis instead of window #2186

Open
rracariu opened this issue May 12, 2022 · 1 comment
Open

Deno: Use globalThis instead of window #2186

rracariu opened this issue May 12, 2022 · 1 comment

Comments

@rracariu
Copy link

Currently using Yarg in a Deno Worker would not run because there is no window global in Workers.

To make this work on all cases using globalThis would be better, see:

nextTick: window.queueMicrotask,

@bcoe
Copy link
Member

bcoe commented May 14, 2022

Thank you for the suggestion 👍 , would happily take a patch.

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

No branches or pull requests

2 participants