Skip to content

Conversation

@wtcross
Copy link

@wtcross wtcross commented Oct 26, 2020

This change preserves a reference to the global this as self
so that module bundlers that change context do not prevent this
package from working correctly. Otherwise, this will be undefined.

alexcastillo and others added 2 commits October 26, 2020 14:02
This change preserves a reference to the global `this` as `self`
so that module bundlers that change context do not prevent this
package from working correctly. Otherwise, `this` will be undefined.
@tczhangzhi
Copy link

Good job, I suppose this PR should be merged!

@CaperCube
Copy link

Is there a chance this might be merged? This fix is perfect!

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.

4 participants