mirror of
https://github.com/nasa/openmct.git
synced 2025-06-16 22:28:13 +00:00
[JSDoc] Add annotations
Bulk-add JSDoc annotations, WTD-1482.
This commit is contained in:
@ -30,6 +30,7 @@ define(
|
||||
* Provides an implementation of `policyService` which consults
|
||||
* various policy extensions to determine whether or not a specific
|
||||
* decision should be allowed.
|
||||
* @memberof platform/policy
|
||||
* @constructor
|
||||
*/
|
||||
function PolicyProvider(policies) {
|
||||
@ -74,6 +75,7 @@ define(
|
||||
* was disallowed (if its disallowed)
|
||||
* @returns {boolean} true if the decision is allowed,
|
||||
* otherwise false.
|
||||
* @memberof platform/policy.PolicyProvider#
|
||||
*/
|
||||
allow: function (category, candidate, context, callback) {
|
||||
var policyList = policyMap[category] || [],
|
||||
@ -103,4 +105,4 @@ define(
|
||||
|
||||
return PolicyProvider;
|
||||
}
|
||||
);
|
||||
);
|
||||
|
Reference in New Issue
Block a user