mirror of
https://github.com/nasa/openmct.git
synced 2025-06-14 13:18:15 +00:00
[JSDoc] Add annotations
Bulk-add JSDoc annotations, WTD-1482.
This commit is contained in:
@ -29,11 +29,14 @@ define(
|
||||
/**
|
||||
* Controller to support the template to be shown in the
|
||||
* dialog shown for persistence failures.
|
||||
* @constructor
|
||||
* @memberof platform/persistence/queue
|
||||
*/
|
||||
function PersistenceFailureController() {
|
||||
return {
|
||||
/**
|
||||
* Format a timestamp for display in the dialog.
|
||||
* @memberof platform/persistence/queue.PersistenceFailureController#
|
||||
*/
|
||||
formatTimestamp: function (timestamp) {
|
||||
return moment.utc(timestamp)
|
||||
@ -41,6 +44,7 @@ define(
|
||||
},
|
||||
/**
|
||||
* Format a user name for display in the dialog.
|
||||
* @memberof platform/persistence/queue.PersistenceFailureController#
|
||||
*/
|
||||
formatUsername: function (username) {
|
||||
return username || Constants.UNKNOWN_USER;
|
||||
@ -50,4 +54,4 @@ define(
|
||||
|
||||
return PersistenceFailureController;
|
||||
}
|
||||
);
|
||||
);
|
||||
|
Reference in New Issue
Block a user