templates/timeline-markup.erb in timeline_setter-0.1.2 vs templates/timeline-markup.erb in timeline_setter-0.2.0
- old
+ new
@@ -19,10 +19,10 @@
</div>
</div>
</div>
<script type="text/javascript">
- TimelineSetter.Timeline.boot(<%= self.to_json %>);
+ TimelineSetter.Timeline.boot(<%= self.to_json %>, <%= self.interval_json %>);
</script>
<script id="TS-year_notch_tmpl" type="text/jst">
<div class="TS-year_notch TS-year_notch_<%%= timestamp %>">
<span class="TS-year_notch_year_text"><%%= human %></span>
</div>
\ No newline at end of file