all: fix some typos (#2210)

Signed-off-by: cui fliter <imcusg@gmail.com>

Signed-off-by: cui fliter <imcusg@gmail.com>
This commit is contained in:
cui fliter
2022-10-04 18:29:56 +08:00
committed by GitHub
parent 45b9ab9fa3
commit bdb41dd862
3 changed files with 6 additions and 6 deletions

View File

@@ -1452,7 +1452,7 @@ SockJS = (function () {
// In theory, ws should require 1 round trip. But in chrome, this is
// not very stable over SSL. Most likely a ws connection requires a
// separate SSL connection, in which case 2 round trips are an
// absolute minumum.
// absolute minimum.
WebSocketTransport.roundTrips = 2;
// [*] End of lib/trans-websocket.js
@@ -1881,7 +1881,7 @@ SockJS = (function () {
XhrStreamingTransport.roundTrips = 2; // preflight, ajax
// Safari gets confused when a streaming ajax request is started
// before onload. This causes the load indicator to spin indefinetely.
// before onload. This causes the load indicator to spin indefinitely.
XhrStreamingTransport.need_body = true;
@@ -2082,7 +2082,7 @@ SockJS = (function () {
var trans_url = p[2];
var base_url = p[3];
if (version !== SockJS.version) {
utils.log("Incompatibile SockJS! Main site uses:" +
utils.log("Incompatible SockJS! Main site uses:" +
" \"" + version + "\", the iframe:" +
" \"" + SockJS.version + "\".");
}