[JSDoc] Add annotations
Bulk-add JSDoc annotations, WTD-1482.
This commit is contained in:
@@ -33,6 +33,7 @@ define(
|
||||
* A column which will report telemetry domain values
|
||||
* (typically, timestamps.) Used by the ScrollingListController.
|
||||
*
|
||||
* @memberof platform/features/events
|
||||
* @constructor
|
||||
* @param domainMetadata an object with the machine- and human-
|
||||
* readable names for this domain (in `key` and `name`
|
||||
@@ -45,6 +46,7 @@ define(
|
||||
/**
|
||||
* Get the title to display in this column's header.
|
||||
* @returns {string} the title to display
|
||||
* @memberof platform/features/events.DomainColumn#
|
||||
*/
|
||||
getTitle: function () {
|
||||
return domainMetadata.name;
|
||||
@@ -53,6 +55,7 @@ define(
|
||||
* Get the text to display inside a row under this
|
||||
* column.
|
||||
* @returns {string} the text to display
|
||||
* @memberof platform/features/events.DomainColumn#
|
||||
*/
|
||||
getValue: function (domainObject, data, index) {
|
||||
return telemetryFormatter.formatDomainValue(
|
||||
@@ -64,4 +67,4 @@ define(
|
||||
|
||||
return DomainColumn;
|
||||
}
|
||||
);
|
||||
);
|
||||
|
||||
@@ -36,6 +36,7 @@ define(
|
||||
/**
|
||||
* The EventListController is responsible for populating
|
||||
* the contents of the event list view.
|
||||
* @memberof platform/features/events
|
||||
* @constructor
|
||||
*/
|
||||
function EventListController($scope, formatter) {
|
||||
@@ -131,3 +132,4 @@ define(
|
||||
return EventListController;
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
@@ -158,4 +158,4 @@ define(
|
||||
return EventListPopulator;
|
||||
|
||||
}
|
||||
);
|
||||
);
|
||||
|
||||
@@ -33,6 +33,7 @@ define(
|
||||
* A column which will report telemetry range values
|
||||
* (typically, measurements.) Used by the ScrollingListController.
|
||||
*
|
||||
* @memberof platform/features/events
|
||||
* @constructor
|
||||
* @param rangeMetadata an object with the machine- and human-
|
||||
* readable names for this range (in `key` and `name`
|
||||
@@ -45,6 +46,7 @@ define(
|
||||
/**
|
||||
* Get the title to display in this column's header.
|
||||
* @returns {string} the title to display
|
||||
* @memberof platform/features/events.RangeColumn#
|
||||
*/
|
||||
getTitle: function () {
|
||||
return rangeMetadata.name;
|
||||
@@ -53,6 +55,7 @@ define(
|
||||
* Get the text to display inside a row under this
|
||||
* column.
|
||||
* @returns {string} the text to display
|
||||
* @memberof platform/features/events.RangeColumn#
|
||||
*/
|
||||
getValue: function (domainObject, data, index) {
|
||||
return telemetryFormatter.formatRangeValue(
|
||||
@@ -64,4 +67,4 @@ define(
|
||||
|
||||
return RangeColumn;
|
||||
}
|
||||
);
|
||||
);
|
||||
|
||||
@@ -71,4 +71,4 @@ define(
|
||||
|
||||
return MCTDataTable;
|
||||
}
|
||||
);
|
||||
);
|
||||
|
||||
@@ -31,6 +31,7 @@ define(
|
||||
|
||||
/**
|
||||
* Policy controlling when the Messages view should be avaliable.
|
||||
* @memberof platform/features/events
|
||||
* @constructor
|
||||
*/
|
||||
function MessagesViewPolicy() {
|
||||
@@ -52,6 +53,7 @@ define(
|
||||
* @param {Action} action the action
|
||||
* @param domainObject the domain object which will be viewed
|
||||
* @returns {boolean} true if not disallowed
|
||||
* @memberof platform/features/events.MessagesViewPolicy#
|
||||
*/
|
||||
allow: function (view, domainObject) {
|
||||
// This policy only applies for the Messages view
|
||||
@@ -71,4 +73,4 @@ define(
|
||||
|
||||
return MessagesViewPolicy;
|
||||
}
|
||||
);
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user