From 26db493b0d9806cf6bc28ae3b433273d73592c64 Mon Sep 17 00:00:00 2001 From: Charles Hacskaylo Date: Thu, 26 Jan 2017 15:27:05 -0800 Subject: [PATCH] [Frontend] Removed unused var Fixes #623 Removed stateCssClass, not needed; --- .../clock/src/controllers/TimerController.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/platform/features/clock/src/controllers/TimerController.js b/platform/features/clock/src/controllers/TimerController.js index e08e8b6daa..974c4eade7 100644 --- a/platform/features/clock/src/controllers/TimerController.js +++ b/platform/features/clock/src/controllers/TimerController.js @@ -54,13 +54,10 @@ define( timeDelta >= 1000 ? "+" : ""; self.signCssClass = timeDelta < 0 ? "icon-minus" : timeDelta >= 1000 ? "icon-plus" : ""; - self.stateCssClass = relativeTimerState === "play" ? "icon-play" : - relativeTimerState === "pause" ? "icon-pause" : "icon-box"; } else { self.textValue = ""; self.signValue = ""; self.signCssClass = ""; - self.stateCssClass = "icon-box"; } } @@ -250,15 +247,6 @@ define( return this.signCssClass; }; - /** - * Get the symbol (play, pause or stop) of the current timer state, as - * a CSS class. - * @returns {string} symbol of the current timer state - */ - TimerController.prototype.stateClass = function () { - return this.stateCssClass; - }; - /** * Get the text to display for the current timer value. * @returns {string} current timer value