[Timeline] Fix column module definitions

This commit is contained in:
Victor Woeltjen 2016-02-08 17:34:10 -08:00
parent a126e43286
commit a444fc01ad
3 changed files with 12 additions and 0 deletions

View File

@ -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;
});

View File

@ -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;
});

View File

@ -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;
});