Rename EventEmitter2 to EventEmitter

Fixes #2029
This commit is contained in:
Daniel Imms
2019-06-08 21:33:02 -07:00
parent 447fc4f3fa
commit 80ce33f9ef
21 changed files with 66 additions and 66 deletions
+2 -2
View File
@@ -4,7 +4,7 @@
*/
import { IOptionsService, ITerminalOptions, IPartialTerminalOptions } from 'common/services/Services';
import { EventEmitter2, IEvent } from 'common/EventEmitter2';
import { EventEmitter, IEvent } from 'common/EventEmitter';
import { isMac } from 'common/Platform';
import { clone } from 'common/Clone';
@@ -57,7 +57,7 @@ const CONSTRUCTOR_ONLY_OPTIONS = ['cols', 'rows'];
export class OptionsService implements IOptionsService {
public options: ITerminalOptions;
private _onOptionChange = new EventEmitter2<string>();
private _onOptionChange = new EventEmitter<string>();
public get onOptionChange(): IEvent<string> { return this._onOptionChange.event; }
constructor(options: IPartialTerminalOptions) {
+1 -1
View File
@@ -3,7 +3,7 @@
* @license MIT
*/
import { IEvent } from 'common/EventEmitter2';
import { IEvent } from 'common/EventEmitter';
export interface IBufferService {
readonly cols: number;