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
@@ -3,12 +3,12 @@
* @license MIT
*/
import { IEvent, EventEmitter2 } from 'common/EventEmitter2';
import { IEvent, EventEmitter } from 'common/EventEmitter';
import { ICharSizeService } from 'browser/services/Services';
export class MockCharSizeService implements ICharSizeService {
get hasValidSize(): boolean { return this.width > 0 && this.height > 0; }
onCharSizeChange: IEvent<void> = new EventEmitter2<void>().event;
onCharSizeChange: IEvent<void> = new EventEmitter<void>().event;
constructor(public width: number, public height: number) {}
measure(): void {}
}