Update tslint, fix lint

This commit is contained in:
Daniel Imms
2018-01-17 10:23:27 -08:00
parent 70236f6818
commit 53e1f83bb5
17 changed files with 277 additions and 785 deletions
+3 -3
View File
@@ -72,7 +72,7 @@ export function attach(term: any, socket: WebSocket, bidirectional: boolean, buf
socket.addEventListener('close', term.detach.bind(term, socket));
socket.addEventListener('error', term.detach.bind(term, socket));
};
}
/**
* Detaches the given terminal from the given socket
@@ -91,7 +91,7 @@ export function detach(term: any, socket: WebSocket): void {
}
delete term.socket;
};
}
export function apply(terminalConstructor: any): void {
@@ -118,4 +118,4 @@ export function apply(terminalConstructor: any): void {
terminalConstructor.prototype.detach = (socket: WebSocket) => {
return detach(this, socket);
};
};
}