[Persistence] Add JSDoc

Add JSDoc to classes added/modified to support multiple persistence
spaces, nasa/openmctweb#245.
This commit is contained in:
Victor Woeltjen
2015-11-10 14:16:07 -08:00
parent a14f30c03c
commit 04ce2f985a
6 changed files with 57 additions and 3 deletions

View File

@ -36,10 +36,13 @@ define(
};
/**
* Aggregates multiple persistence providers, such that they can be
* utilized as if they were a single object.
* @memberof platform/persistence/aggregator
* @constructor
* @implements {PersistenceService}
* @param q Angular's $q, for promises
* @param $q Angular's $q, for promises
* @param {PersistenceService[]} providers the providers to aggregate
*/
function PersistenceAggregator($q, providers) {
var providerMap = {};