[Persistence] Clean up instantiation

Fix typo to correctly reuse defined identifiers, remove
unused dependency of instantiation capability.
This commit is contained in:
Victor Woeltjen 2015-11-10 10:53:48 -08:00
parent 0c096db8bd
commit ad60b9225e
2 changed files with 3 additions and 3 deletions

View File

@ -22,8 +22,8 @@
/*global define,Promise*/
define(
['../objects/DomainObjectImpl', 'uuid'],
function (DomainObjectImpl, uuid) {
['../objects/DomainObjectImpl'],
function (DomainObjectImpl) {
'use strict';
/**

View File

@ -38,7 +38,7 @@ define(
if (separatorIndex > -1) {
this.key = id.substring(separatorIndex + 1);
this.space = id.substring(0, separatorIndex);
this.definedSpace = this.pace;
this.definedSpace = this.space;
} else {
this.key = id;
this.space = defaultSpace;