mirror of
https://github.com/nasa/openmct.git
synced 2025-06-19 23:53:49 +00:00
[JSDoc] Add annotations
Bulk-add JSDoc annotations, WTD-1482.
This commit is contained in:
@ -28,6 +28,7 @@ define(
|
||||
|
||||
/**
|
||||
* Disallow composition changes to objects which are not mutable.
|
||||
* @memberof platform/containment
|
||||
* @constructor
|
||||
*/
|
||||
function CompositionMutabilityPolicy() {
|
||||
@ -36,6 +37,7 @@ define(
|
||||
* Is the type identified by the candidate allowed to
|
||||
* contain the type described by the context?
|
||||
* @param {Type} candidate the type of domain object
|
||||
* @memberof platform/containment.CompositionMutabilityPolicy#
|
||||
*/
|
||||
allow: function (candidate) {
|
||||
// Equate creatability with mutability; that is, users
|
||||
@ -48,4 +50,4 @@ define(
|
||||
|
||||
return CompositionMutabilityPolicy;
|
||||
}
|
||||
);
|
||||
);
|
||||
|
Reference in New Issue
Block a user