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

Change global emitter name to a symbol #9

Merged
merged 4 commits into from
Feb 1, 2022
Merged

Conversation

sttk
Copy link
Contributor

@sttk sttk commented Jan 15, 2022

This PR makes use of symbols for property keys of global store and default emitter.

Closes #7

@sttk sttk requested a review from phated January 15, 2022 05:12
Copy link
Member

@phated phated left a comment

Choose a reason for hiding this comment

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

Thanks! I made a change to use Symbol.for so it works between different installed versions, because they need to be able to get the same symbol.

I also re-added the global & namespace tests because having access to Symbol.for made it easy to continue to have them.

@phated phated merged commit 2196fb1 into gulpjs:master Feb 1, 2022
@github-actions github-actions bot mentioned this pull request Feb 1, 2022
@sttk sttk deleted the using-symbol branch February 6, 2022 11:37
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.

Consider using a symbol
2 participants