[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

@ -33,6 +33,7 @@ define(
* @constructor
* @memberof platform/core
* @param $injector Angular's `$injector`
* @implements {Capability}
*/
function InstantiationCapability($injector, identifierService, domainObject) {
this.$injector = $injector;
@ -47,6 +48,7 @@ define(
* have been persisted, nor will it have been added to the
* composition of the object which exposed this capability.
*
* @param {object} the model for the new domain object
* @returns {DomainObject} the new domain object
*/
InstantiationCapability.prototype.instantiate = function (model) {