Skip to content

wrap component with try catch outside of iife for old browser compati… #1239

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 1 commit into from
Sep 21, 2018

Conversation

Feiyang1
Copy link
Member

@Feiyang1 Feiyang1 commented Sep 21, 2018

This change is to make firebase bundles compatible with old safari browser implementation(Issue #931), where function declaration in the nested scope is not allowed. All major browsers has decided to not implement this feature nowadays.

Copy link
Contributor

@mikelehen mikelehen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@mikelehen mikelehen assigned Feiyang1 and unassigned mikelehen Sep 21, 2018
@Feiyang1 Feiyang1 merged commit d7a7f0a into master Sep 21, 2018
@Feiyang1 Feiyang1 deleted the fei-browser-compatibility branch September 21, 2018 18:12
@firebase firebase locked and limited conversation to collaborators Oct 16, 2019
Sign up for free to 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