mirror of
https://github.com/nasa/openmct.git
synced 2025-03-23 04:25:27 +00:00
[Persistence] Clean up instantiation
Fix typo to correctly reuse defined identifiers, remove unused dependency of instantiation capability.
This commit is contained in:
parent
0c096db8bd
commit
ad60b9225e
@ -22,8 +22,8 @@
|
||||
/*global define,Promise*/
|
||||
|
||||
define(
|
||||
['../objects/DomainObjectImpl', 'uuid'],
|
||||
function (DomainObjectImpl, uuid) {
|
||||
['../objects/DomainObjectImpl'],
|
||||
function (DomainObjectImpl) {
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user