Remove old addon api 'apply' call

This commit is contained in:
Daniel Imms
2020-05-03 06:32:32 -07:00
parent d98fcf8d1f
commit b450470142
-13
View File
@@ -83,16 +83,3 @@ export function enableLigatures(term: Terminal): void {
return [];
});
}
/**
* Add capabilities to the provided terminal class for enabling ligature
* support. After calling this function, an `enableLigatures()` method is
* available on the terminal class, which will enable ligature support when
* called.
* @param terminalConstructor Terminal class from xterm.js
*/
export function apply(terminalConstructor: typeof Terminal): void {
(<any>terminalConstructor.prototype).enableLigatures = function (): void {
enableLigatures(this);
};
}