equal
deleted
inserted
replaced
17 height: 10 |
17 height: 10 |
18 }; |
18 }; |
19 |
19 |
20 IriSP.Widgets.Segments.prototype.template = |
20 IriSP.Widgets.Segments.prototype.template = |
21 '<div class="Ldt-Segments-List">{{#segments}}' |
21 '<div class="Ldt-Segments-List">{{#segments}}' |
22 + '<div class="Ldt-Segments-Segment" segment-id="{{id}}" segment-text="{{text}}" segment-color="{{color}}" center-pos="{{center}}" begin-seconds="{{beginseconds}}"' |
22 + '<div class="Ldt-Segments-Segment Ldt-TraceMe" trace-info="segment-id:{{id}}" segment-id="{{id}}" segment-text="{{text}}" segment-color="{{color}}" center-pos="{{center}}" begin-seconds="{{beginseconds}}"' |
23 + 'style="left:{{left}}px; width:{{width}}px; background:{{color}}"></div>' |
23 + 'style="left:{{left}}px; width:{{width}}px; background:{{color}}"></div>' |
24 + '{{/segments}}</div>' |
24 + '{{/segments}}</div>' |
25 + '<div class="Ldt-Segments-Position"></div>'; |
25 + '<div class="Ldt-Segments-Position"></div>'; |
26 |
26 |
27 IriSP.Widgets.Segments.prototype.draw = function() { |
27 IriSP.Widgets.Segments.prototype.draw = function() { |