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

enable QUnit.config.noglobals in tests #2345

Merged
merged 1 commit into from
Nov 12, 2015

Conversation

akre54
Copy link
Collaborator

@akre54 akre54 commented Nov 12, 2015

Ref #2341

@@ -21,6 +21,8 @@
if (typeof require != 'function') {
assert.equal(this._, void 0, 'global underscore is removed');
this._ = underscore;
} else if (typeof global !== 'undefined') {
delete global._;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

_.noConflict actually creates a global, but it's undefined.

jdalton added a commit that referenced this pull request Nov 12, 2015
enable QUnit.config.noglobals in tests.
@jdalton jdalton merged commit 616b1f8 into jashkenas:master Nov 12, 2015
@jdalton
Copy link
Contributor

jdalton commented Nov 12, 2015

🚀

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.

2 participants