mirror of
https://git.proxmox.com/git/mirror_xterm.js
synced 2025-10-28 11:37:05 +00:00
Remove redundant assignment in constructor
This commit is contained in:
parent
dba432d1b6
commit
937cf43e09
@ -11,7 +11,7 @@ export class EventEmitter {
|
||||
private _events: {[type: string]: ListenerType[]};
|
||||
|
||||
constructor() {
|
||||
this._events = this._events || {};
|
||||
this._events = {};
|
||||
}
|
||||
|
||||
// TODO: Merge addListener and on, no reason for an alias in a private component
|
||||
|
||||
Loading…
Reference in New Issue
Block a user