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

Fix vars leaking into global scope #121

Merged
merged 1 commit into from
May 26, 2017

Conversation

chrisjlebron
Copy link
Contributor

Using this package with mocha's check-leaks flag was throwing an error for global leak detected. I traced it back to these two vars in this lib. Seems like they don't need to be global, so I scoped them.

@theoephraim
Copy link
Owner

Thanks! I'll merge and bump this evening

@chrisjlebron
Copy link
Contributor Author

Sweet, thanks!

@bluepropane
Copy link

bump: is this going to be merged? node is currently throwing up errors in strict mode due to this.

@theoephraim theoephraim merged commit 3479cf3 into theoephraim:master May 26, 2017
@chrisjlebron chrisjlebron deleted the fix-global-leak branch September 29, 2023 21:50
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.

3 participants