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

Set globalObject to "this" (from default: window) #18

Merged
merged 2 commits into from
Sep 14, 2019

Conversation

feildmaster
Copy link
Contributor

@feildmaster feildmaster commented Sep 14, 2019

Properly fix #14 while retaining web support.

#15 broke web support by switching to commonjs

This is not the proper way to add support for Node, this breaks web support
Fixes wikimedia#14 while keeping web support
@feildmaster feildmaster changed the title Properly fix #14 while retaining web support Set globalObject to "this" (from default: window) Sep 14, 2019
@santhoshtr santhoshtr merged commit 5c088a4 into wikimedia:master Sep 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Library target is UMD which prevents library from being used in node.js
2 participants