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 browser compatibility #18

Merged
merged 1 commit into from Dec 6, 2020
Merged

Conversation

buschtoens
Copy link
Contributor

#17 broke this package for browsers.

  • Chrome: "TypeError: Illegal invocation"
  • Safari: "TypeError: Can only call Window.setTimeout on instances of Window"

- Chrome: "TypeError: Illegal invocation"
- Safari: "TypeError: Can only call Window.setTimeout on instances of Window"
@sindresorhus sindresorhus changed the title fix: illegal invocation Fix browser compatibility Dec 6, 2020
@sindresorhus sindresorhus merged commit b98a872 into sindresorhus:master Dec 6, 2020
@sindresorhus
Copy link
Owner

https://github.com/sindresorhus/p-timeout/releases/tag/v4.0.1

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.

None yet

2 participants