mirror of
https://github.com/nasa/openmct.git
synced 2025-06-21 00:23:01 +00:00
[JSDoc] Add annotations
Bulk-add JSDoc annotations, WTD-1482.
This commit is contained in:
@ -34,6 +34,8 @@ define(
|
||||
* since it's delegated to a different policy category.
|
||||
* To avoid a circular dependency, the service is obtained via
|
||||
* Angular's `$injector`.
|
||||
* @constructor
|
||||
* @memberof platform/containment
|
||||
*/
|
||||
function ComposeActionPolicy($injector) {
|
||||
var policyService;
|
||||
@ -61,6 +63,7 @@ define(
|
||||
* Check whether or not a compose action should be allowed
|
||||
* in this context.
|
||||
* @returns {boolean} true if it may be allowed
|
||||
* @memberof platform/containment.ComposeActionPolicy#
|
||||
*/
|
||||
allow: function (candidate, context) {
|
||||
if (candidate.getMetadata().key === 'compose') {
|
||||
@ -77,4 +80,4 @@ define(
|
||||
return ComposeActionPolicy;
|
||||
|
||||
}
|
||||
);
|
||||
);
|
||||
|
Reference in New Issue
Block a user