Skip to content

refactor(analytics): Add warning in the code #2610

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 26, 2020

Conversation

Capelinha
Copy link
Contributor

Adding a warning in the code so no one can turn the gtag function into an arrow function.

PR #2594

Description

As requested in the other PR by @Splaktar I inserted a warning in the code to alert anyone who is going to make changes in analytics about not turning the function into an arrow function

Adding a warning in the code so no one can turn the gtag function into an arrow function.

PR angular#2594
Copy link
Contributor

@Splaktar Splaktar left a comment

Choose a reason for hiding this comment

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

Thank you very much for sending this PR! I made a few suggestions to fine tune the comments, but I really appreciate you making the first draft here and getting this documented.

Applying changes suggested by other contributors
@Capelinha
Copy link
Contributor Author

Thanks, I made the changes. Sorry for my bad English

Copy link
Contributor

@Splaktar Splaktar left a comment

Choose a reason for hiding this comment

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

Thank you for making those updates! LGTM

@jamesdaniels jamesdaniels merged commit 98e5046 into angular:master Oct 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants