From 879fbffb660e982a9c32f2481798f00aeba5abdb Mon Sep 17 00:00:00 2001 From: Andrew Stewart Date: Fri, 3 Jan 2014 17:14:35 -0800 Subject: [PATCH] Compile a missing previous API change --- dist/api.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/api.js b/dist/api.js index 8aa4b63..c14e51c 100644 --- a/dist/api.js +++ b/dist/api.js @@ -67,13 +67,13 @@ }); }); this.server.all("/robots/:robotname/commands/:commandname", function(req, res) { - var key, params, value, _ref; + var params, v, _, _ref; params = []; if (typeof req.body === 'object') { _ref = req.body; - for (key in _ref) { - value = _ref[key]; - params.push(value); + for (_ in _ref) { + v = _ref[_]; + params.push(v); } } return master.findRobot(req.params.robotname, function(err, robot) {