[Pkg-javascript-commits] [sockjs-client] 248/434: #28 Emit warning.

Tonnerre Lombard tonnerre-guest at moszumanska.debian.org
Wed Jan 8 00:47:17 UTC 2014


This is an automated email from the git hooks/post-receive script.

tonnerre-guest pushed a commit to branch master
in repository sockjs-client.

commit 9addd9b919bf06b65a3d5183789fed865ac6758e
Author: Marek Majkowski <majek04 at gmail.com>
Date:   Thu Dec 1 17:50:30 2011 +0000

    #28 Emit warning.
---
 lib/trans-websocket.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/trans-websocket.js b/lib/trans-websocket.js
index a6ef09e..1882332 100644
--- a/lib/trans-websocket.js
+++ b/lib/trans-websocket.js
@@ -16,6 +16,7 @@ var WebSocketTransport = SockJS.websocket = function(ri, trans_url) {
         // user navigates away from the page. In such situation let's
         // lie - let's not open the ws connection at all. See:
         // https://github.com/sockjs/sockjs-client/issues/28
+        utils.log("Can't open a WebSocket connection after onbeforeunload!");
         return;
     }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/sockjs-client.git



More information about the Pkg-javascript-commits mailing list