[Pkg-javascript-commits] [sockjs-client] 368/434: sockjs/sockjs-protocol#28 - always pack the message in square brackets
Tonnerre Lombard
tonnerre-guest at moszumanska.debian.org
Wed Jan 8 00:47:25 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 9596e118f1250128a9585a6db4206d69b4b63ac0
Author: Marek Majkowski <majek04 at gmail.com>
Date: Fri Mar 16 16:21:24 2012 +0000
sockjs/sockjs-protocol#28 - always pack the message in square brackets
---
lib/trans-websocket.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/trans-websocket.js b/lib/trans-websocket.js
index 1571868..948f646 100644
--- a/lib/trans-websocket.js
+++ b/lib/trans-websocket.js
@@ -27,7 +27,7 @@ var WebSocketTransport = SockJS.websocket = function(ri, trans_url) {
};
WebSocketTransport.prototype.doSend = function(data) {
- this.ws.send(data);
+ this.ws.send('[' + data + ']');
};
WebSocketTransport.prototype.doCleanup = function() {
--
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