Closed arv closed 3 years ago
lgtm
On Thu, Oct 22, 2020 at 12:22 PM Erik Arvidsson notifications@github.com wrote:
Merged #232 https://github.com/rocicorp/repc/pull/232 into master.
— You are receiving this because your review was requested. Reply to this email directly, view it on GitHub https://github.com/rocicorp/repc/pull/232#event-3911367102, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAATUBBHBDQZCUV7A6ZI733SMCWA7ANCNFSM4S2MID7Q .
Workers do not have a window.
The new preferred way is to use
global_property("indexedDB")
instead which gets the property of the global object, no matter if that iswindow
,self
,globalThis
etc.Fixes #228