From 6d508b1364a3b8e269e16601ed39c8b69c86a0f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ezequiel=20Santamar=C3=ADa=20Navarro?= Date: Tue, 12 Jan 2016 16:51:00 +0100 Subject: [PATCH] Deleted two debug lines. --- .gitignore | 1 + lib/services/client/execute.js | 1 - lib/services/coapRouter.js | 1 - 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 4d13582..cf3680d 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ .metadata npm-debug.log +*~ diff --git a/lib/services/client/execute.js b/lib/services/client/execute.js index dcea323..b992186 100644 --- a/lib/services/client/execute.js +++ b/lib/services/client/execute.js @@ -65,7 +65,6 @@ function endExecute(req, res) { * @param {Function} handler User handler to be executed if everything goes ok. */ function handleExecute(req, res, handler) { - res.write("prueba"); coapUtils.extractUriInfo(req, res, function (error, objectUri, resourceId, payload) { async.waterfall([ apply(objectRegistry.get, objectUri), diff --git a/lib/services/coapRouter.js b/lib/services/coapRouter.js index be4090e..2baac12 100644 --- a/lib/services/coapRouter.js +++ b/lib/services/coapRouter.js @@ -59,7 +59,6 @@ function dataHandler(serverInfo) { if (req.method === serverInfo.routes[i][0] && req.urlObj.pathname.match(serverInfo.routes[i][1])) { serverInfo.handlers[serverInfo.routes[i][2]] .lib(req, res, serverInfo.handlers[serverInfo.routes[i][2]].user); - console.log(serverInfo.handlers[serverInfo.routes[i][2]]); return; } }