From 8b1ed1297ba2e8f448035d420c94f812a4a63be2 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Thu, 16 Jan 2014 17:25:14 -0500 Subject: [PATCH] linting --- src/socket.io/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/socket.io/index.js b/src/socket.io/index.js index 8c27bbaa14..7b0e6f3268 100644 --- a/src/socket.io/index.js +++ b/src/socket.io/index.js @@ -134,7 +134,7 @@ Sockets.init = function() { socket.on('*', function(payload, callback) { function callMethod(method) { method.call(null, socket, payload.args.length ? payload.args[0] : null, function(err, result) { - if(callback) { + if (callback) { callback(err?{message:err.message}:null, result); } });