From b9ab984768de9b7dd47b43d1889c27f945f3c6c2 Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Sun, 11 Mar 2012 20:43:01 -0600 Subject: [PATCH] lineup, not rotation. This isn't volleyball. --- scoreboard.css | 2 +- scoreboard.js | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/scoreboard.css b/scoreboard.css index a932680..d12d142 100644 --- a/scoreboard.css +++ b/scoreboard.css @@ -49,6 +49,6 @@ #jam.timeout { background: #044; } -#jam.rotate { +#jam.lineup { background: #060; } \ No newline at end of file diff --git a/scoreboard.js b/scoreboard.js index 477a829..fd73285 100644 --- a/scoreboard.js +++ b/scoreboard.js @@ -28,7 +28,7 @@ /* State names */ var SETUP = 0; // !P 30:00 !J 2:00 var JAM = 1; // P J 2:00 -var ROTATE = 2; // P J 1:00 +var LINEUP = 2; // P J 1:00 var TIMEOUT = 3; // !P J 1:00 var periodtext = ["Period 1", "Halftime", "Period 2", "Break"]; @@ -143,11 +143,11 @@ function transition(newstate) { jt.set(120000); jt.start(); jtext.innerHTML = "Jam"; - } else if (state == ROTATE) { + } else if (state == LINEUP) { pt.start(); - jt.set(30000, "rotate"); + jt.set(30000, "lineup"); jt.start(); - jtext.innerHTML = "Rotation"; + jtext.innerHTML = "Lineup"; } else if (state == TIMEOUT) { pt.stop(); if (pt.remaining() <= 0) { @@ -264,7 +264,7 @@ function handle(event) { break; case "jam": if (state == JAM) { - newstate = ROTATE; + newstate = LINEUP; } else { newstate = JAM; } @@ -290,7 +290,7 @@ function key(e) { switch (String.fromCharCode(e.which || 0)) { case " ": if (state == JAM) { - newstate = ROTATE; + newstate = LINEUP; } else { newstate = JAM; }