rocicorp / repc

The canonical Replicache client, implemented in Rust.
Other
31 stars 7 forks source link

Stop depending on window() #232

Closed arv closed 3 years ago

arv commented 3 years ago

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 is window, self, globalThis etc.

Fixes #228

aboodman commented 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 .