mirror of
https://github.com/nasa/openmct.git
synced 2025-05-30 22:24:18 +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*/
|
/*global define,Promise*/
|
||||||
|
|
||||||
define(
|
define(
|
||||||
['../objects/DomainObjectImpl', 'uuid'],
|
['../objects/DomainObjectImpl'],
|
||||||
function (DomainObjectImpl, uuid) {
|
function (DomainObjectImpl) {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -38,7 +38,7 @@ define(
|
|||||||
if (separatorIndex > -1) {
|
if (separatorIndex > -1) {
|
||||||
this.key = id.substring(separatorIndex + 1);
|
this.key = id.substring(separatorIndex + 1);
|
||||||
this.space = id.substring(0, separatorIndex);
|
this.space = id.substring(0, separatorIndex);
|
||||||
this.definedSpace = this.pace;
|
this.definedSpace = this.space;
|
||||||
} else {
|
} else {
|
||||||
this.key = id;
|
this.key = id;
|
||||||
this.space = defaultSpace;
|
this.space = defaultSpace;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user