mirror of
https://github.com/nasa/openmct.git
synced 2025-06-16 14:18:16 +00:00
[JSDoc] Add annotations
Bulk-add JSDoc annotations, WTD-1482.
This commit is contained in:
@ -8,12 +8,15 @@ define(
|
||||
/**
|
||||
* Policy allowing composition only for domain object types which
|
||||
* have a composition property.
|
||||
* @constructor
|
||||
* @memberof platform/containment
|
||||
*/
|
||||
function CompositionModelPolicy() {
|
||||
return {
|
||||
/**
|
||||
* Is the type identified by the candidate allowed to
|
||||
* contain the type described by the context?
|
||||
* @memberof platform/containment.CompositionModelPolicy#
|
||||
*/
|
||||
allow: function (candidate, context) {
|
||||
return Array.isArray(
|
||||
@ -25,4 +28,4 @@ define(
|
||||
|
||||
return CompositionModelPolicy;
|
||||
}
|
||||
);
|
||||
);
|
||||
|
Reference in New Issue
Block a user