[Clocks] Add license, change keys
Un-namespace keys in clock plugin, and add licensing info for moment-duration-format. WTD-1239
This commit is contained in:
@@ -23,11 +23,11 @@ define(
|
||||
|
||||
// We show this variant for timers which already have
|
||||
// a target time.
|
||||
return model.type === 'warp.timer' &&
|
||||
return model.type === 'timer' &&
|
||||
model.timestamp !== undefined;
|
||||
};
|
||||
|
||||
return RestartTimerAction;
|
||||
|
||||
}
|
||||
);
|
||||
);
|
||||
|
||||
@@ -24,11 +24,11 @@ define(
|
||||
|
||||
// We show this variant for timers which do not yet have
|
||||
// a target time.
|
||||
return model.type === 'warp.timer' &&
|
||||
return model.type === 'timer' &&
|
||||
model.timestamp === undefined;
|
||||
};
|
||||
|
||||
return StartTimerAction;
|
||||
|
||||
}
|
||||
);
|
||||
);
|
||||
|
||||
@@ -49,7 +49,7 @@ define(
|
||||
formatKey = model.timerFormat,
|
||||
actionCapability = domainObject.getCapability('action'),
|
||||
actionKey = (timestamp === undefined) ?
|
||||
'warp.timer.start' : 'warp.timer.restart';
|
||||
'timer.start' : 'timer.restart';
|
||||
|
||||
updateFormat(formatKey);
|
||||
updateTimestamp(timestamp);
|
||||
|
||||
Reference in New Issue
Block a user