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

Fix JSHint error. Fix PathKit support for web workers #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rafern
Copy link

@rafern rafern commented Jul 12, 2022

When in a web worker, g.js fails to detect PathKit because it only checks in the window object, which is not available in web workers. This PR makes it also check in the self object. An better solution in the future would be to make this configurable via a new API

@rafern rafern marked this pull request as draft July 12, 2022 08:49
@rafern
Copy link
Author

rafern commented Jul 12, 2022

I found an issue, so I'm going to mark this as a draft false alarm, the issue was external

@rafern rafern marked this pull request as ready for review July 12, 2022 09:19
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