Skip to content

Fix reference error in navigator detection #82

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

Merged
merged 2 commits into from
Jul 25, 2024
Merged

Fix reference error in navigator detection #82

merged 2 commits into from
Jul 25, 2024

Conversation

Eskibear
Copy link
Member

When WorkerNavigator is undefined, navigator instanceof WorkerNavigator throws reference error. The typeof SomeDefinedType is expected to be "function".

@Eskibear
Copy link
Member Author

fix #81

@Eskibear Eskibear merged commit 09afc81 into main Jul 25, 2024
3 checks passed
@Eskibear Eskibear deleted the yanzh/fix-81 branch July 25, 2024 03:26
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.

2 participants