[Clocks/Timers] Fix parent constructor invocations
This commit is contained in:
@@ -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 =
|
||||||
|
|||||||
Reference in New Issue
Block a user