mirror of
https://github.com/foambubble/foam.git
synced 2026-04-24 03:01:01 -04:00
The even listener is called with `this` bound to undefined, which causes the refresh function in fail when it accesses the object methods/fields. wrapping it into an arrow function avoids the problem