mirror of
https://github.com/nasa/openmct.git
synced 2025-04-21 09:31:24 +00:00
[Build] Move operators to satisfy JSHint
This commit is contained in:
parent
a8f7bc01c3
commit
72ef134750
platform/features/clock/src/actions
@ -47,8 +47,8 @@ define(
|
||||
|
||||
RestartTimerAction.appliesTo = function (context) {
|
||||
var model =
|
||||
(context.domainObject && context.domainObject.getModel())
|
||||
|| {};
|
||||
(context.domainObject && context.domainObject.getModel()) ||
|
||||
{};
|
||||
|
||||
// We show this variant for timers which already have
|
||||
// a target time.
|
||||
|
@ -47,8 +47,8 @@ define(
|
||||
|
||||
StartTimerAction.appliesTo = function (context) {
|
||||
var model =
|
||||
(context.domainObject && context.domainObject.getModel())
|
||||
|| {};
|
||||
(context.domainObject && context.domainObject.getModel()) ||
|
||||
{};
|
||||
|
||||
// We show this variant for timers which do not yet have
|
||||
// a target time.
|
||||
|
Loading…
x
Reference in New Issue
Block a user