mirror of
https://github.com/nasa/openmct.git
synced 2025-06-12 20:28:14 +00:00
[JSDoc] Add annotations
Bulk-add JSDoc annotations, WTD-1482.
This commit is contained in:
@ -28,6 +28,8 @@ define(
|
||||
|
||||
/**
|
||||
* Defines composition policy as driven by type metadata.
|
||||
* @constructor
|
||||
* @memberof platform/containment
|
||||
*/
|
||||
function CompositionPolicy($injector) {
|
||||
// We're really just wrapping the containment table and rephrasing
|
||||
@ -45,6 +47,7 @@ define(
|
||||
/**
|
||||
* Is the type identified by the candidate allowed to
|
||||
* contain the type described by the context?
|
||||
* @memberof platform/containment.CompositionPolicy#
|
||||
*/
|
||||
allow: function (candidate, context) {
|
||||
return getTable().canContain(candidate, context);
|
||||
@ -54,4 +57,4 @@ define(
|
||||
|
||||
return CompositionPolicy;
|
||||
}
|
||||
);
|
||||
);
|
||||
|
Reference in New Issue
Block a user