Skip to content

Fixing named prop "_lat" #238

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
Oct 18, 2017
Merged

Fixing named prop "_lat" #238

merged 2 commits into from
Oct 18, 2017

Conversation

jshcrowthe
Copy link
Contributor

There was a minification error causing some odd issues with auth state persistence.

Fixes #230

@@ -40,7 +40,7 @@ const baseConfig = {
mangle: {
props: {
ignore_quoted: true,
regex: /^_[^_]|[^_]_$/
regex: /^_[^_][^lat]|[^_]_$/
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you please comment this? Somebody reading this is going to have no idea why this regex is what it is. And in 2 years we'll have no idea whether we still need "lat" and what might happen if we remove it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yup, can do.

@jshcrowthe jshcrowthe merged commit 3ca20c7 into master Oct 18, 2017
@jshcrowthe jshcrowthe deleted the fix-auth-minification branch October 18, 2017 20:11
@firebase firebase locked and limited conversation to collaborators Oct 25, 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.

Database permission_denied after linking a provider (linkWithPopup)
4 participants