mirror of
https://github.com/nasa/openmct.git
synced 2025-02-20 17:33:23 +00:00
[Timeline] Fix column module definitions
This commit is contained in:
parent
a126e43286
commit
a444fc01ad
@ -22,6 +22,8 @@
|
||||
/*global define*/
|
||||
|
||||
define([], function () {
|
||||
"use strict";
|
||||
|
||||
function CompositionColumn(index) {
|
||||
this.index = index;
|
||||
}
|
||||
@ -35,4 +37,6 @@ define([], function () {
|
||||
composition = model.composition || [];
|
||||
return (composition[this.index]) || "";
|
||||
};
|
||||
|
||||
return CompositionColumn;
|
||||
});
|
||||
|
@ -22,6 +22,8 @@
|
||||
/*global define*/
|
||||
|
||||
define([], function () {
|
||||
"use strict";
|
||||
|
||||
function MetadataColumn(property) {
|
||||
this.property = property;
|
||||
}
|
||||
@ -38,4 +40,6 @@ define([], function () {
|
||||
});
|
||||
return property ? property.value : "";
|
||||
};
|
||||
|
||||
return MetadataColumn;
|
||||
});
|
||||
|
@ -22,6 +22,8 @@
|
||||
/*global define*/
|
||||
|
||||
define([], function () {
|
||||
"use strict";
|
||||
|
||||
function ModeColumn(index) {
|
||||
this.index = index;
|
||||
}
|
||||
@ -35,4 +37,6 @@ define([], function () {
|
||||
composition = (model.relationships || {}).modes || [];
|
||||
return (composition[this.index]) || "";
|
||||
};
|
||||
|
||||
return ModeColumn;
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user