view src/app/app.component.ts @ 22:3e96bcbfa5c5

Remove unused test service.
author Lucas Thompson <dev@lucas.im>
date Fri, 28 Oct 2016 17:21:58 +0100
parents 953932e9ba82
children 1ff1b5bdeb9e
line wrap: on
line source
import {Component, Inject} from '@angular/core';

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.css']
})
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++;
  }
}