[Persistence] Fix grammar in JSDoc

...and add some explanation of METHOD_DEFAULTS.
This commit is contained in:
Victor Woeltjen 2015-11-21 06:59:12 -08:00
parent 9656e09066
commit d5858622ba

View File

@ -27,6 +27,8 @@ define(
function () { function () {
'use strict'; 'use strict';
// Return values to use when a persistence space is unknown,
// and there is no appropriate provider to route to.
var METHOD_DEFAULTS = { var METHOD_DEFAULTS = {
createObject: false, createObject: false,
readObject: undefined, readObject: undefined,
@ -40,8 +42,8 @@ define(
* utilized as if they were a single object. This is achieved by * utilized as if they were a single object. This is achieved by
* routing persistence calls to an appropriate provider; the space * routing persistence calls to an appropriate provider; the space
* specified at call time is matched with the first provider (per * specified at call time is matched with the first provider (per
* priority order) which reports that it provides persistence this * priority order) which reports that it provides persistence for
* space. * this space.
* *
* @memberof platform/persistence/aggregator * @memberof platform/persistence/aggregator
* @constructor * @constructor