Skip to content

Commit

Permalink
Standardizing on '+=' for appending to the url in the JS client
Browse files Browse the repository at this point in the history
  • Loading branch information
halter73 committed Mar 28, 2013
1 parent 82eb1cc commit 604fde7
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
Expand Up @@ -797,13 +797,13 @@
}

if (!reconnecting) {
url = url + "/connect";
url += "/connect";
} else {
if (appendReconnectUrl) {
url = url + "/reconnect";
url += "/reconnect";
} else {
// A silent reconnect should only ever occur with the longPolling transport
url = url + "/poll";
url += "/poll";
}

if (connection.messageId) {
Expand Down

Large diffs are not rendered by default.

Expand Up @@ -797,13 +797,13 @@
}

if (!reconnecting) {
url = url + "/connect";
url += "/connect";
} else {
if (appendReconnectUrl) {
url = url + "/reconnect";
url += "/reconnect";
} else {
// A silent reconnect should only ever occur with the longPolling transport
url = url + "/poll";
url += "/poll";
}

if (connection.messageId) {
Expand Down

Large diffs are not rendered by default.

Expand Up @@ -134,13 +134,13 @@
}

if (!reconnecting) {
url = url + "/connect";
url += "/connect";
} else {
if (appendReconnectUrl) {
url = url + "/reconnect";
url += "/reconnect";
} else {
// A silent reconnect should only ever occur with the longPolling transport
url = url + "/poll";
url += "/poll";
}

if (connection.messageId) {
Expand Down

0 comments on commit 604fde7

Please sign in to comment.