Closed h2jorm closed 4 years ago
Hi @desandro, would you consider accepting this PR to fix issues for webpack/parcel users? This relies on the window global existing, which should be fine on the client. It doesn't solve the original issue mentioned in #49, but should fix the more common use case.
When using zdog in webpack or parcel,
this
is not assigned towindow
. Use global window instead ofthis
. Also mentioned in #49