Skip to content

Commit

Permalink
Update the Pusher JS client to version 2.2.3.
Browse files Browse the repository at this point in the history
  • Loading branch information
tristandunn committed Sep 10, 2014
1 parent 6d4d049 commit 5ee6417
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## 1.3.0 — Unreleased

* Update the Pusher JS client to version 2.2.3. (Tristan Dunn)
* Update development and test dependencies. (Tristan Dunn)

## 1.2.0 — August 9th, 2014
Expand Down
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion features/support/application/views/index.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<ul></ul>
</section>

<script src="/javascripts/vendor/pusher-2.2.2.js"></script>
<script src="/javascripts/vendor/pusher-2.2.3.js"></script>
<script>
window.addEventListener("DOMContentLoaded", function() {
// Create the client instance using the PusherFake server.
Expand Down

0 comments on commit 5ee6417

Please sign in to comment.