mirror of
https://github.com/nasa/openmct.git
synced 2025-06-16 22:28:13 +00:00
[Frontend] Removed unused var
Fixes #623 Removed stateCssClass, not needed;
This commit is contained in:
@ -54,13 +54,10 @@ define(
|
|||||||
timeDelta >= 1000 ? "+" : "";
|
timeDelta >= 1000 ? "+" : "";
|
||||||
self.signCssClass = timeDelta < 0 ? "icon-minus" :
|
self.signCssClass = timeDelta < 0 ? "icon-minus" :
|
||||||
timeDelta >= 1000 ? "icon-plus" : "";
|
timeDelta >= 1000 ? "icon-plus" : "";
|
||||||
self.stateCssClass = relativeTimerState === "play" ? "icon-play" :
|
|
||||||
relativeTimerState === "pause" ? "icon-pause" : "icon-box";
|
|
||||||
} else {
|
} else {
|
||||||
self.textValue = "";
|
self.textValue = "";
|
||||||
self.signValue = "";
|
self.signValue = "";
|
||||||
self.signCssClass = "";
|
self.signCssClass = "";
|
||||||
self.stateCssClass = "icon-box";
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -250,15 +247,6 @@ define(
|
|||||||
return this.signCssClass;
|
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.
|
* Get the text to display for the current timer value.
|
||||||
* @returns {string} current timer value
|
* @returns {string} current timer value
|
||||||
|
Reference in New Issue
Block a user