Skip to content

Commit

Permalink
Pedantic change to log formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mloughran committed Mar 22, 2011
1 parent 0603c88 commit baa1495
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/pusher.js
Expand Up @@ -97,10 +97,10 @@ Pusher.prototype = {
toggle_secure: function() {
if (this.secure == false) {
this.secure = true;
Pusher.log("Pusher: switching to wss:// connection");
Pusher.log("Pusher : switching to wss:// connection");
}else{
this.secure = false;
Pusher.log("Pusher: switching to ws:// connection");
Pusher.log("Pusher : switching to ws:// connection");
};
},

Expand Down Expand Up @@ -207,7 +207,7 @@ Pusher.prototype = {

// Retry with increasing delay, with a maximum interval of 10s
var retry_delay = Math.min(this.retry_counter * 1000, 10000);
Pusher.log ("Pusher: Retrying connection in " + retry_delay + "ms");
Pusher.log("Pusher : Retrying connection in " + retry_delay + "ms");
var self = this;
setTimeout(function() {
self.connect();
Expand All @@ -218,7 +218,7 @@ Pusher.prototype = {

onclose: function() {
this.global_channel.dispatch('close', null);
Pusher.log ("Pusher: Socket closed")
Pusher.log("Pusher : Socket closed")
if (this.connected) {
this.send_local_event("pusher:connection_disconnected", {});
if (Pusher.allow_reconnect) {
Expand Down

0 comments on commit baa1495

Please sign in to comment.