# HG changeset patch # User Lucas Thompson # Date 1496153171 -3600 # Node ID c8a585de46aca81377454938bf320afa0e564a84 # Parent 0e20af8a4065d9d63d155e0f8e4c9a12e10b0509 Add skeleton for a curve component. diff -r 0e20af8a4065 -r c8a585de46ac src/app/app.module.ts --- a/src/app/app.module.ts Fri May 26 21:11:05 2017 +0100 +++ b/src/app/app.module.ts Tue May 30 15:06:11 2017 +0100 @@ -31,6 +31,7 @@ import {Observable} from 'rxjs/Observable'; import {PlayHeadComponent} from './playhead/playhead.component'; import {LivePlayHeadComponent} from './playhead/live-play-head.component'; +import {CurveComponent} from "./visualisations/curve/curve.component"; export function createAudioContext(): AudioContext { return new ( @@ -118,7 +119,8 @@ NotebookFeedComponent, ProgressBarComponent, PlayHeadComponent, - LivePlayHeadComponent + LivePlayHeadComponent, + CurveComponent ], imports: [ BrowserModule, diff -r 0e20af8a4065 -r c8a585de46ac src/app/visualisations/curve/curve.component.ts --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/app/visualisations/curve/curve.component.ts Tue May 30 15:06:11 2017 +0100 @@ -0,0 +1,16 @@ +/** + * Created by lucas on 30/05/2017. + */ +import {WavesComponent} from "../waves-base.component"; +import {ChangeDetectionStrategy, Component} from "@angular/core"; + +@Component({ + selector: 'ugly-curve', + // templateUrl: '../waves-template.html', + template: `
Curve
`, + styleUrls: ['../waves-template.css'], + changeDetection: ChangeDetectionStrategy.OnPush +}) +export class CurveComponent extends WavesComponent { + +}