muruca_widgets 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -44,9 +44,10 @@ function TimelineRunner(params, tl_data) {
|
|
44
44
|
new_band.date = Timeline.DateTime.parseIso8601DateTime(bands[band].date || '1900-01-01');
|
45
45
|
new_band.theme = this.theme;
|
46
46
|
new_band.layout = (bands[band].layout || 'original');
|
47
|
-
|
48
|
-
if(bands[band].
|
49
|
-
|
47
|
+
new_band_info = Timeline.createBandInfo(new_band)
|
48
|
+
if(bands[band].syncWith) { new_band_info.syncWith = bands[band].syncWith; }
|
49
|
+
if(bands[band].highlight) { new_band_info.highlight = bands[band].highlight; }
|
50
|
+
this.bands.push(new_band_info);
|
50
51
|
}
|
51
52
|
return this.bands;
|
52
53
|
}
|