From bcb8daffcfbb6b3639e1c336615bdf0c1d82c51a Mon Sep 17 00:00:00 2001 From: Micho Date: Sun, 19 May 2013 09:55:44 +0200 Subject: [PATCH] points -> pointList --- clients/anim/main.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/clients/anim/main.js b/clients/anim/main.js index a3be9d7..56eba8a 100644 --- a/clients/anim/main.js +++ b/clients/anim/main.js @@ -105,9 +105,9 @@ function renderTime() { } function updateData() { - var points = []; + var pointList = []; data.points.forEach(function (point, index) { - points[index] = []; + pointList[index] = []; }) data.matrix.forEach(function (times, index) { @@ -128,10 +128,10 @@ function updateData() { } client.point = point; } - if (valid(client.point)) points[client.point].push(index); + if (valid(client.point)) pointList[client.point].push(index); }); - points.forEach(function (clientList, pointIndex) { + pointList.forEach(function (clientList, pointIndex) { var point = data.points[pointIndex]; var x0 = Math.round(point.x*width); var y0 = Math.round(point.y*height);