[Pkg-javascript-commits] [sockjs-client] 163/434: Be less verbose during tests.

Tonnerre Lombard tonnerre-guest at moszumanska.debian.org
Wed Jan 8 00:47:11 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 8b3f88ff8ef216867feed614ba463b9d7cc828df
Author: Marek Majkowski <majek04 at gmail.com>
Date:   Mon Oct 10 11:03:27 2011 +0100

    Be less verbose during tests.
---
 tests/sockjs_app.js | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/tests/sockjs_app.js b/tests/sockjs_app.js
index a66aa48..a6234bf 100644
--- a/tests/sockjs_app.js
+++ b/tests/sockjs_app.js
@@ -5,7 +5,7 @@ exports.install = function(config, server) {
     sjs_echo.on('open', function(conn){
                     console.log('    [+] echo open    ' + conn);
                     conn.on('close', function(e) {
-                                console.log('    [-] echo close   ' + conn, e);
+                                console.log('    [-] echo close   ' + conn);
                             });
                     conn.on('message', function(e) {
                                 var d  = JSON.stringify(e.data);
@@ -21,7 +21,7 @@ exports.install = function(config, server) {
                      console.log('    [+] clos open    ' + conn);
                      conn.close(3000, "Go away!");
                      conn.on('close', function(e) {
-                                 console.log('    [-] clos close   ' + conn, e);
+                                 console.log('    [-] clos close   ' + conn);
                              });
                  });
 
@@ -36,7 +36,7 @@ exports.install = function(config, server) {
                       tref = setTimeout(schedule, 1000);
                       conn.on('close', function(e) {
                                   clearTimeout(tref);
-                                  console.log('    [-] ticker close   ' + conn, e);
+                                  console.log('    [-] ticker close   ' + conn);
                               });
                   });
 
@@ -47,7 +47,7 @@ exports.install = function(config, server) {
                          broadcast[conn.id] = conn;
                          conn.on('close', function(e) {
                                      delete broadcast[conn.id];
-                                     console.log('    [-] broadcast close' + conn, e);
+                                     console.log('    [-] broadcast close' + conn);
                                  });
                          conn.on('message', function(e) {
                                      console.log('    [-] broadcast message', e);
@@ -61,7 +61,7 @@ exports.install = function(config, server) {
     sjs_amplify.on('open', function(conn){
                     console.log('    [+] amp open    ' + conn);
                     conn.on('close', function(e) {
-                                console.log('    [-] amp close   ' + conn, e);
+                                console.log('    [-] amp close   ' + conn);
                             });
                     conn.on('message', function(e) {
                                 var n = Math.floor(Number(e.data));

-- 
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