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
- if(bands[band].syncWith) { new_band.syncWith = bands[band].syncWith; }
48
- if(bands[band].highlight) { new_band.highlight = bands[band].highlight; }
49
- this.bands.push(Timeline.createBandInfo(new_band));
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
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: muruca_widgets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Hahn