Jonas Jenwald 739d7c6d77 Support the once option, when registering EventBus listeners
This follows the same principle as the `once` option that exists in the native `addEventListener` method, and will thus automatically remove an `EventBus` listener when it's invoked; see https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#Parameters

Finally, this patch also tweaks some the existing `EventBus`-code to use modern features such as optional chaining and logical assignment operators.
2020-12-29 16:49:13 +01:00
..
2020-04-14 12:28:14 +02:00
2017-01-29 23:24:44 +01:00
2020-04-17 12:24:46 +02:00
2020-07-30 11:10:37 +02:00
2018-11-23 13:49:58 +01:00
2013-03-15 11:24:08 -07:00
2020-04-14 12:28:14 +02:00
2020-04-14 12:28:14 +02:00