gnome-shell/tests/unit
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
..
highlighter.js tests: Add unit test for highlighter 2021-12-22 16:47:18 +00:00
insertSorted.js Util: fix binary search exit condition 2011-12-20 22:44:03 +01:00
jsParse.js style: Fix indentation errors 2019-07-02 12:17:46 +00:00
markup.js tests: Work around import dependency loop 2019-02-07 02:46:51 +01:00
params.js tests: Add Params.parse() unit tests 2019-07-05 18:28:26 +02:00
signalTracker.js Adopt EventEmitter class instead of injecting Signal methods 2022-07-04 18:30:49 -04:00
url.js util: Handle trailing LTR/RTL markers in URLs 2019-09-16 20:41:47 +00:00
versionCompare.js util: Add a GNOME version comparison function 2021-02-05 13:41:26 +00:00