mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 22:23:42 +01:00
Merge pull request #3495 from overleaf/ae-prettier-2
Upgrade Prettier to v2 GitOrigin-RevId: 85aa3fa1acb6332c4f58c46165a43d1a51471f33
This commit is contained in:
@@ -15,7 +15,7 @@ import SocketIoShim from './SocketIoShim'
|
||||
let ConnectionManager
|
||||
const ONEHOUR = 1000 * 60 * 60
|
||||
|
||||
export default ConnectionManager = (function() {
|
||||
export default ConnectionManager = (function () {
|
||||
ConnectionManager = class ConnectionManager {
|
||||
static initClass() {
|
||||
this.prototype.disconnectAfterMs = ONEHOUR * 24
|
||||
|
||||
@@ -17,7 +17,7 @@ const transparentMethods = [
|
||||
'removeListener'
|
||||
]
|
||||
for (let method of transparentMethods) {
|
||||
SocketShimBase.prototype[method] = function() {
|
||||
SocketShimBase.prototype[method] = function () {
|
||||
this._socket[method].apply(this._socket, arguments)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user