[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*/ /*global define*/
define([], function () { define([], function () {
"use strict";
function CompositionColumn(index) { function CompositionColumn(index) {
this.index = index; this.index = index;
} }
@ -35,4 +37,6 @@ define([], function () {
composition = model.composition || []; composition = model.composition || [];
return (composition[this.index]) || ""; return (composition[this.index]) || "";
}; };
return CompositionColumn;
}); });

View File

@ -22,6 +22,8 @@
/*global define*/ /*global define*/
define([], function () { define([], function () {
"use strict";
function MetadataColumn(property) { function MetadataColumn(property) {
this.property = property; this.property = property;
} }
@ -38,4 +40,6 @@ define([], function () {
}); });
return property ? property.value : ""; return property ? property.value : "";
}; };
return MetadataColumn;
}); });

View File

@ -22,6 +22,8 @@
/*global define*/ /*global define*/
define([], function () { define([], function () {
"use strict";
function ModeColumn(index) { function ModeColumn(index) {
this.index = index; this.index = index;
} }
@ -35,4 +37,6 @@ define([], function () {
composition = (model.relationships || {}).modes || []; composition = (model.relationships || {}).modes || [];
return (composition[this.index]) || ""; return (composition[this.index]) || "";
}; };
return ModeColumn;
}); });