mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Fix lints
This commit is contained in:
+5
-5
@@ -694,7 +694,7 @@ export class Terminal extends EventEmitter implements ITerminal, IInputHandlingT
|
||||
this.viewportElement.appendChild(this.viewportScrollArea);
|
||||
|
||||
// preload audio
|
||||
this.preloadBellSound()
|
||||
this.preloadBellSound();
|
||||
|
||||
// Create the selection container.
|
||||
this.selectionContainer = document.createElement('div');
|
||||
@@ -2284,15 +2284,15 @@ export class Terminal extends EventEmitter implements ITerminal, IInputHandlingT
|
||||
}
|
||||
|
||||
private visualBell(): boolean {
|
||||
var styles = [].concat.apply([], [this.options.bellStyle]);
|
||||
let styles = [].concat.apply([], [this.options.bellStyle]);
|
||||
|
||||
return styles.indexOf('visual') > -1 || styles.indexOf('both') > -1
|
||||
return styles.indexOf('visual') > -1 || styles.indexOf('both') > -1;
|
||||
}
|
||||
|
||||
private soundBell(): boolean {
|
||||
var styles = [].concat.apply([], [this.options.bellStyle]);
|
||||
let styles = [].concat.apply([], [this.options.bellStyle]);
|
||||
|
||||
return styles.indexOf('sound') > -1 || styles.indexOf('both') > -1
|
||||
return styles.indexOf('sound') > -1 || styles.indexOf('both') > -1;
|
||||
}
|
||||
|
||||
private preloadBellSound(): void {
|
||||
|
||||
Reference in New Issue
Block a user