# HG changeset patch # User Lucas Thompson # Date 1477497471 -3600 # Node ID ee4353d1aeeb4103cf6c417263c018713243bbe8 # Parent 8d82412dfd50a7203f52394e0bdc284e6a3c60e2 Add skeleton files for waveform component. diff -r 8d82412dfd50 -r ee4353d1aeeb src/app/waveform/waveform.component.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/app/waveform/waveform.component.html Wed Oct 26 16:57:51 2016 +0100 @@ -0,0 +1,3 @@ +

+ waveform works! +

diff -r 8d82412dfd50 -r ee4353d1aeeb src/app/waveform/waveform.component.spec.ts --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/app/waveform/waveform.component.spec.ts Wed Oct 26 16:57:51 2016 +0100 @@ -0,0 +1,28 @@ +/* tslint:disable:no-unused-variable */ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { By } from '@angular/platform-browser'; +import { DebugElement } from '@angular/core'; + +import { WaveformComponent } from './waveform.component'; + +describe('WaveformComponent', () => { + let component: WaveformComponent; + let fixture: ComponentFixture; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [ WaveformComponent ] + }) + .compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(WaveformComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff -r 8d82412dfd50 -r ee4353d1aeeb src/app/waveform/waveform.component.ts --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/app/waveform/waveform.component.ts Wed Oct 26 16:57:51 2016 +0100 @@ -0,0 +1,17 @@ +import { Component, OnInit } from '@angular/core'; +declare var wavesUI: any; + +@Component({ + selector: 'app-waveform', + templateUrl: './waveform.component.html', + styleUrls: ['./waveform.component.css'] +}) +export class WaveformComponent implements OnInit { + + constructor() { + console.log(wavesUI.core); + } + + ngOnInit() { + } +}