Mercurial > hg > ugly-duckling
changeset 23:1ff1b5bdeb9e
Remove dummy components
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Mon, 28 Nov 2016 11:57:48 +0000 |
parents | 3e96bcbfa5c5 |
children | 25e46f24a0e8 |
files | src/app/app.component.html src/app/app.component.ts |
diffstat | 2 files changed, 0 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/src/app/app.component.html Fri Oct 28 17:21:58 2016 +0100 +++ b/src/app/app.component.html Mon Nov 28 11:57:48 2016 +0000 @@ -24,10 +24,6 @@ </template> <template md-tab-content> <app-playback-control class="playback-content"></app-playback-control> - <button md-icon-button (click)="testRef()"> - <md-icon>face</md-icon> - </button> - <h1>{{count}}</h1> </template> </md-tab> <md-tab>
--- a/src/app/app.component.ts Fri Oct 28 17:21:58 2016 +0100 +++ b/src/app/app.component.ts Mon Nov 28 11:57:48 2016 +0000 @@ -8,22 +8,13 @@ export class AppComponent { title = 'Ugly'; - count = 0; audioBuffer: AudioBuffer = undefined; constructor( @Inject('piper-server-uri') private serverUri ) {} - onUpdate(id, text) { - } - onAudioLoaded(buffer: AudioBuffer) { this.audioBuffer = buffer; - this.count++; - } - - testRef() { - this.count++; } }