blob: f4acced0ce700e0833a7bfb09cb345d149de49e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
const Signals = imports.signals;
const SignalTracker = imports.misc.signalTracker;
var EventEmitter = class EventEmitter {
connectObject(...args) {
return SignalTracker.connectObject(this, ...args);
}
disconnectObject(...args) {
return SignalTracker.disconnectObject(this, ...args);
}
connect_object(...args) {
return this.connectObject(...args);
}
disconnect_object(...args) {
return this.disconnectObject(...args);
}
};
Signals.addSignalMethods(EventEmitter.prototype);
|