dsp.js icon indicating copy to clipboard operation
dsp.js copied to clipboard

Preserve reference to global this.

Open wtcross opened this issue 5 years ago • 2 comments

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.

wtcross avatar Oct 26 '20 18:10 wtcross

Good job, I suppose this PR should be merged!

tczhangzhi avatar Feb 01 '22 16:02 tczhangzhi

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

CaperCube avatar Dec 07 '22 02:12 CaperCube