From acd61917d1dc3b5e71ae187005ec1867eeb757dd Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Sat, 26 May 2018 12:31:10 +0200 Subject: [PATCH] Removing steps --- History.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/History.js b/History.js index 4e8bbf381..0853df74e 100644 --- a/History.js +++ b/History.js @@ -4,7 +4,7 @@ const INFO_LOG = false; const INTENSIVE_LOG = false; const ERROR_LOG = true; - const logger = newDebugLog(); + const logger = newWebDebugLog(); logger.fileName = MODULE_NAME; let thisObject = { @@ -184,13 +184,10 @@ let history = []; let lines = []; - - let oneMin = 60000; - let step = timePeriod / oneMin; - + /* First the small balls */ - for (let i = 0; i < file.length; i = i + step) { + for (let i = 0; i < file.length; i++) { let newHistoryRecord = {