doc: fix typos

This commit is contained in:
Ashwin Ramaswami
2019-01-06 15:07:36 -08:00
parent f98572cf71
commit f090fa822d
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1391,7 +1391,7 @@ export class Terminal extends EventEmitter implements ITerminal, IDisposable, II
* processed by the terminal and what keys should not. * processed by the terminal and what keys should not.
* @param customKeyEventHandler The custom KeyboardEvent handler to attach. * @param customKeyEventHandler The custom KeyboardEvent handler to attach.
* This is a function that takes a KeyboardEvent, allowing consumers to stop * This is a function that takes a KeyboardEvent, allowing consumers to stop
* propogation and/or prevent the default action. The function returns whether * propagation and/or prevent the default action. The function returns whether
* the event should be processed by xterm.js. * the event should be processed by xterm.js.
*/ */
public attachCustomKeyEventHandler(customKeyEventHandler: CustomKeyEventHandler): void { public attachCustomKeyEventHandler(customKeyEventHandler: CustomKeyEventHandler): void {
+1 -1
View File
@@ -23,7 +23,7 @@ export class EventEmitter extends Disposable implements IEventEmitter, IDisposab
} }
/** /**
* Adds a disposabe listener to the EventEmitter, returning the disposable. * Adds a disposable listener to the EventEmitter, returning the disposable.
* @param type The event type. * @param type The event type.
* @param handler The handler for the listener. * @param handler The handler for the listener.
*/ */
+1 -1
View File
@@ -6,7 +6,7 @@
import { IDisposable } from 'xterm'; import { IDisposable } from 'xterm';
/** /**
* Adds a disposabe listener to a node in the DOM, returning the disposable. * Adds a disposable listener to a node in the DOM, returning the disposable.
* @param type The event type. * @param type The event type.
* @param handler The handler for the listener. * @param handler The handler for the listener.
*/ */