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 global detection in safari #1858

Merged
merged 1 commit into from
Oct 6, 2018
Merged

Fix global detection in safari #1858

merged 1 commit into from
Oct 6, 2018

Conversation

guybedford
Copy link
Member

Safari does this strange thing where new globals added to Window sometimes show up at Object.keys(window)[0] and Object.keys(window)[1]. So far these are the only variations I've detected so I've simply added this in to the detection. Ahh browsers.

@guybedford guybedford merged commit 989a04f into master Oct 6, 2018
@guybedford guybedford deleted the safari-global-fix branch July 31, 2019 03:15
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