mirror of
https://github.com/nasa/openmct.git
synced 2025-01-17 10:20:27 +00:00
[Clocks/Timers] Fix parent constructor invocations
This commit is contained in:
parent
714ae3b9dc
commit
7871af07c4
@ -41,10 +41,7 @@ define(
|
|||||||
* @param {ActionContext} context the context for this action
|
* @param {ActionContext} context the context for this action
|
||||||
*/
|
*/
|
||||||
function RestartTimerAction(now, context) {
|
function RestartTimerAction(now, context) {
|
||||||
AbstractStartTimerAction.prototype.apply(
|
AbstractStartTimerAction.apply(this, [ now, context ]);
|
||||||
this,
|
|
||||||
[ now, context ]
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
RestartTimerAction.prototype =
|
RestartTimerAction.prototype =
|
||||||
|
@ -41,10 +41,7 @@ define(
|
|||||||
* @param {ActionContext} context the context for this action
|
* @param {ActionContext} context the context for this action
|
||||||
*/
|
*/
|
||||||
function StartTimerAction(now, context) {
|
function StartTimerAction(now, context) {
|
||||||
AbstractStartTimerAction.prototype.apply(
|
AbstractStartTimerAction.apply(this, [ now, context ]);
|
||||||
this,
|
|
||||||
[ now, context ]
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
StartTimerAction.prototype =
|
StartTimerAction.prototype =
|
||||||
|
Loading…
Reference in New Issue
Block a user