Skip to content

Guard polyfills against window possibly being undefined - #7205

Merged
ianschmitz merged 3 commits into
react:masterfrom
jxom:patch-1
Sep 24, 2019
Merged

Guard polyfills against window possibly being undefined#7205
ianschmitz merged 3 commits into
react:masterfrom
jxom:patch-1

Conversation

@jxom

@jxomjxom commented Jun 12, 2019

Copy link
Copy Markdown
Contributor

Hello!

This PR is just a small one, and ensures that window is not undefined before it invokes the polyfill.

Comment threadpackages/react-app-polyfill/ie9.js Outdated
Comment threadpackages/react-app-polyfill/ie9.js
@ianschmitzianschmitz modified the milestones: 3.1, 3.2Aug 9, 2019
@ianschmitzianschmitz modified the milestones: 3.2, 3.1.3Sep 24, 2019
@ianschmitzianschmitz reopened this Sep 24, 2019
@ianschmitzianschmitz changed the title Guard ie9 polyfill against window possibly being undefinedGuard polyfills against window possibly being undefinedSep 24, 2019
@ianschmitz
ianschmitz merged commit b1e6155 into react:masterSep 24, 2019
@locklockBot locked and limited conversation to collaborators Sep 29, 2019
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@jxom@ianschmitz@iansu@facebook-github-bot