Skip to content

Commit

Permalink
Update distribution files to version 2.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
pl committed Sep 10, 2014
1 parent 821df87 commit 461879f
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 27 deletions.
2 changes: 1 addition & 1 deletion dist/flashfallback.js
@@ -1,5 +1,5 @@
/*!
* Pusher JavaScript Library v2.2.2
* Pusher JavaScript Library v2.2.3
* http://pusherapp.com/
*
* Copyright 2011, Pusher
Expand Down
2 changes: 1 addition & 1 deletion dist/flashfallback.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 6 additions & 4 deletions dist/pusher.js
@@ -1,5 +1,5 @@
/*!
* Pusher JavaScript Library v2.2.2
* Pusher JavaScript Library v2.2.3
* http://pusher.com/
*
* Copyright 2014, Pusher
Expand Down Expand Up @@ -626,7 +626,7 @@
}).call(this);

;(function() {
Pusher.VERSION = '2.2.2';
Pusher.VERSION = '2.2.3';
Pusher.PROTOCOL = 7;

// DEPRECATED: WS connection parameters
Expand Down Expand Up @@ -678,7 +678,8 @@
}]],
[":def", "sockjs_options", {
hostUnencrypted: config.httpHost + ":" + config.httpPort,
hostEncrypted: config.httpHost + ":" + config.httpsPort
hostEncrypted: config.httpHost + ":" + config.httpsPort,
httpPath: config.httpPath
}],
[":def", "timeouts", {
loop: true,
Expand Down Expand Up @@ -3918,7 +3919,7 @@

Pusher.Channel.Authorizer.prototype = {
composeQuery: function(socketId) {
var query = '&socket_id=' + encodeURIComponent(socketId) +
var query = 'socket_id=' + encodeURIComponent(socketId) +
'&channel_name=' + encodeURIComponent(this.channel.name);

for(var i in this.authOptions.params) {
Expand Down Expand Up @@ -3999,6 +4000,7 @@
script.src = this.options.authEndpoint +
'?callback=' +
encodeURIComponent(callback_name) +
'&' +
this.composeQuery(socketId);

var head = document.getElementsByTagName("head")[0] || document.documentElement;
Expand Down
18 changes: 9 additions & 9 deletions dist/pusher.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions dist/xdr.js
@@ -1,5 +1,5 @@
/*!
* Pusher JavaScript Library v2.2.2
* Pusher JavaScript Library v2.2.3
* http://pusher.com/
*
* Copyright 2014, Pusher
Expand Down Expand Up @@ -346,7 +346,7 @@
socket.sendRaw("[]");
},
sendHeartbeat: function(socket) {
socket.sendRaw("h");
socket.sendRaw("[]");
},
onFinished: function(socket, status) {
socket.onClose(1006, "Connection interrupted (" + status + ")", false);
Expand All @@ -367,7 +367,7 @@
// next HTTP request will reset server's activity timer
},
sendHeartbeat: function(socket) {
socket.sendRaw("h");
socket.sendRaw("[]");
},
onFinished: function(socket, status) {
if (status === 200) {
Expand Down
6 changes: 3 additions & 3 deletions dist/xdr.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions dist/xhr.js
@@ -1,5 +1,5 @@
/*!
* Pusher JavaScript Library v2.2.2
* Pusher JavaScript Library v2.2.3
* http://pusher.com/
*
* Copyright 2014, Pusher
Expand Down Expand Up @@ -343,7 +343,7 @@
socket.sendRaw("[]");
},
sendHeartbeat: function(socket) {
socket.sendRaw("h");
socket.sendRaw("[]");
},
onFinished: function(socket, status) {
socket.onClose(1006, "Connection interrupted (" + status + ")", false);
Expand All @@ -364,7 +364,7 @@
// next HTTP request will reset server's activity timer
},
sendHeartbeat: function(socket) {
socket.sendRaw("h");
socket.sendRaw("[]");
},
onFinished: function(socket, status) {
if (status === 200) {
Expand Down

0 comments on commit 461879f

Please sign in to comment.