mirror of
https://github.com/nasa/openmct.git
synced 2025-06-01 23:20:50 +00:00
[Persistence] Update JSDoc
This commit is contained in:
parent
dda2c89a58
commit
944a5a7424
@ -33,6 +33,15 @@ define(
|
|||||||
* A model service which reads domain object models from an external
|
* A model service which reads domain object models from an external
|
||||||
* persistence service.
|
* persistence service.
|
||||||
*
|
*
|
||||||
|
* Identifiers will be interpreted as follows:
|
||||||
|
* * If no colon is present, the model will be read from the default
|
||||||
|
* persistence space.
|
||||||
|
* * If a colon is present, everything before the first colon will be
|
||||||
|
* taken to refer to the persistence space, and everything after
|
||||||
|
* will be taken to be that model's key within this space. (If
|
||||||
|
* no such space exists within the `persistenceService`, that
|
||||||
|
* identifier will simply be ignored.)
|
||||||
|
*
|
||||||
* @memberof platform/core
|
* @memberof platform/core
|
||||||
* @constructor
|
* @constructor
|
||||||
* @implements {ModelService}
|
* @implements {ModelService}
|
||||||
@ -104,7 +113,7 @@ define(
|
|||||||
parsedIds = ids.map(function (id) {
|
parsedIds = ids.map(function (id) {
|
||||||
var parts = id.split(":");
|
var parts = id.split(":");
|
||||||
return (parts.length > 1) ?
|
return (parts.length > 1) ?
|
||||||
{ space: parts[0], key: parts[1] } :
|
{ space: parts[0], key: parts.slice(1).join(":") } :
|
||||||
{ space: defaultSpace, key: id };
|
{ space: defaultSpace, key: id };
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user