From 80c73d6ae8c46550d2ea762f0d07cec0802fec9b Mon Sep 17 00:00:00 2001 From: coderaiser Date: Thu, 6 Feb 2014 03:59:42 -0500 Subject: [PATCH] chore(rest) lFiles -> files --- lib/server/rest.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/server/rest.js b/lib/server/rest.js index 4bfccfd0..a0496131 100644 --- a/lib/server/rest.js +++ b/lib/server/rest.js @@ -223,16 +223,16 @@ }); }); else if (query === 'files') { - getBody(p.request, function(pBody) { + getBody(p.request, function(body) { var i, name, - lFiles = Util.parseJSON(pBody), - n = lFiles.length, - lDir = p.name, + files = Util.parseJSON(body), + n = files.length, + dir = p.name, log = Util.log.bind(Util), - lAssync = 0; + assync = 0; function onStat(name, error, stat) { - ++lAssync; + ++assync; checkSendError(error, params, function() { if (stat.isDirectory()) @@ -247,7 +247,7 @@ } for (i = 0; i < n; i ++) { - name = lDir + lFiles[i]; + name = dir + files[i]; Util.log(name);