mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Remove redundant assignment in constructor
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user