diff src/app/visualisations/curve/curve.component.ts @ 376:35234006c3c3

Use module scoped id generator instead of passing in an id to components.
author Lucas Thompson <dev@lucas.im>
date Wed, 31 May 2017 12:55:03 +0100
parents 2df7b3722eb9
children 9fe6e00e0700
line wrap: on
line diff
--- a/src/app/visualisations/curve/curve.component.ts	Wed May 31 12:38:18 2017 +0100
+++ b/src/app/visualisations/curve/curve.component.ts	Wed May 31 12:55:03 2017 +0100
@@ -13,7 +13,6 @@
   selector: 'ugly-curve',
   template: `<ugly-tracks
     [timeline]="timeline"
-    [trackIdPrefix]="id"
     [width]="width"
     [onSeek]="onSeek"
     [colour]="colour"
@@ -22,8 +21,7 @@
   changeDetection: ChangeDetectionStrategy.OnPush
 })
 export class CurveComponent {
-  @Input() id: string; // TODO refactor WaveComponents to have own Timeline, sharing a TimeContext
-  @Input() timeline: Timeline; // TODO as above
+  @Input() timeline: Timeline; // TODO refactor WaveComponents to have own Timeline, sharing a TimeContext
   @Input() onSeek: OnSeekHandler;
   @Input() width: number;
   @Input() curve: VectorFeature;