mirror of
https://github.com/nasa/openmct.git
synced 2025-06-17 06:38:17 +00:00
[API] Use proper key format
This commit is contained in:
@ -43,7 +43,7 @@ define([
|
|||||||
var handleLegacyMutation;
|
var handleLegacyMutation;
|
||||||
|
|
||||||
var handleMutation = function (newStyleObject) {
|
var handleMutation = function (newStyleObject) {
|
||||||
var keyString = utils.makeKeyString(newStyleObject.key);
|
var keyString = utils.makeKeyString(newStyleObject.identifier);
|
||||||
var oldStyleObject = this.instantiate(utils.toOldFormat(newStyleObject), keyString);
|
var oldStyleObject = this.instantiate(utils.toOldFormat(newStyleObject), keyString);
|
||||||
|
|
||||||
// Don't trigger self
|
// Don't trigger self
|
||||||
|
@ -41,7 +41,7 @@ define([
|
|||||||
}
|
}
|
||||||
|
|
||||||
function qualifiedEventName(object, eventName) {
|
function qualifiedEventName(object, eventName) {
|
||||||
return [object.key.identifier, eventName].join(':');
|
return [object.identifier.key, eventName].join(':');
|
||||||
}
|
}
|
||||||
|
|
||||||
MutableObject.prototype.stopListening = function () {
|
MutableObject.prototype.stopListening = function () {
|
||||||
|
Reference in New Issue
Block a user