[Persistence] Update bunde definition

...to reflect removal of 'additional persistence spaces'; parse
these out of identifiers instead.
This commit is contained in:
Victor Woeltjen
2015-11-05 17:13:19 -08:00
parent c8cfbf5281
commit dda2c89a58
2 changed files with 4 additions and 10 deletions

View File

@ -41,13 +41,13 @@ define(
* @param $q Angular's $q service, for working with promises
* @param {function} now a function which provides the current time
* @param {string} space the name of the persistence space(s)
* from which models should be retrieved.
* @param {string} spaces additional persistence spaces to use
* from which models should be retrieved by default
*/
function PersistedModelProvider(persistenceService, $q, now) {
function PersistedModelProvider(persistenceService, $q, now, space) {
this.persistenceService = persistenceService;
this.$q = $q;
this.now = now;
this.defaultSpace = space;
}
PersistedModelProvider.prototype.getModels = function (ids) {