summaryrefslogtreecommitdiff
path: root/js/src/Ice/browser/WSTransceiver.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/Ice/browser/WSTransceiver.js')
-rw-r--r--js/src/Ice/browser/WSTransceiver.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/src/Ice/browser/WSTransceiver.js b/js/src/Ice/browser/WSTransceiver.js
index 5ecee521186..b86f7c65c26 100644
--- a/js/src/Ice/browser/WSTransceiver.js
+++ b/js/src/Ice/browser/WSTransceiver.js
@@ -52,7 +52,7 @@ class WSTransceiver
writeReadyTimeout()
{
const t = Math.round(this._writeReadyTimeout);
- this._writeReadyTimeout += (this._writeReadyTimeout >= 5 ? 5 : 0.2);
+ this._writeReadyTimeout += (this._writeReadyTimeout >= 5 ? 5 : 0.2);
return Math.min(t, 25);
}
@@ -62,6 +62,7 @@ class WSTransceiver
this._bytesAvailableCallback = bytesAvailableCallback;
this._bytesWrittenCallback = bytesWrittenCallback;
}
+
//
// Returns SocketOperation.None when initialization is complete.
//