gnome-shell/js/ui/components
Evan Welsh a88e59c1a8 Adopt EventEmitter class instead of injecting Signal methods
Introduce a new class, EventEmitter, which implements signal
handling for pure JavaScript classes. EventEmitter still
utilizes GJS' addSignalMethods internally.

EventEmitter allows static typechecking to understand the
structure of event-emitting JS classes and makes creating
child classes simpler.

The name 'EventEmitter' mirrors a common name for this pattern
in Node and in JS libraries.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2043>
2022-07-04 18:30:49 -04:00
..
__init__.js cleanup: Don't linebreak before closing parentheses 2020-04-28 09:04:49 +00:00
automountManager.js js: Use (dis)connectObject() 2022-03-04 14:14:37 +00:00
autorunManager.js js: Use (dis)connectObject() 2022-03-04 14:14:37 +00:00
keyring.js keyring: Fix incorrect reference to the label instead of string 2021-11-17 10:19:08 +00:00
networkAgent.js Adopt EventEmitter class instead of injecting Signal methods 2022-07-04 18:30:49 -04:00
polkitAgent.js js: Use (dis)connectObject() 2022-03-04 14:14:37 +00:00
telepathyClient.js js: Use (dis)connectObject() 2022-03-04 14:14:37 +00:00