From 222f4330e987b2636ee6943e9ce397cb9990fa00 Mon Sep 17 00:00:00 2001 From: Richard Harrington Date: Tue, 3 Sep 2013 20:17:56 -0400 Subject: [PATCH] very minor whitespace changes --- public/js/main.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/public/js/main.js b/public/js/main.js index 3eee7d1..30e9160 100644 --- a/public/js/main.js +++ b/public/js/main.js @@ -233,6 +233,7 @@ return; } callback(); + var nextTick = tick + interval; setTimeout(function() { continueLoop(nextTick); @@ -258,7 +259,7 @@ // TODO: remove this tick loop entirely, // and just have the animation loop calculate which // simulation to pick each time. - + loop(worlds, tickDuration, function() { debugSimulationCounter++; worlds.advance(fastForward); @@ -273,7 +274,7 @@ " " + debugAnimationCounter + " " + debugSimulationCounter); }); - + // Keyboard event listener for fast-forward control // TODO: dispose of this if we start a new worlds object. // Or just have it not mutate fastForward.