# HG changeset patch # User Lucas Thompson # Date 1477552785 -3600 # Node ID 1fcc8c9ec54ced37523d4ad7ea1dd57a52c0fb2a # Parent a50a4e814ff3223363e62c95062963b030e5d5bd Remove a now unused component. diff -r a50a4e814ff3 -r 1fcc8c9ec54c src/app/app.module.ts --- a/src/app/app.module.ts Wed Oct 26 17:26:31 2016 +0100 +++ b/src/app/app.module.ts Thu Oct 27 08:19:45 2016 +0100 @@ -4,7 +4,6 @@ import { HttpModule } from '@angular/http'; import { AppComponent } from './app.component'; -import { SimpleFormComponent } from './simple-form/simple-form.component'; import {MailService} from "./mail.service"; import {MaterialModule} from "@angular/material"; import { WaveformComponent } from './waveform/waveform.component'; @@ -12,7 +11,6 @@ @NgModule({ declarations: [ AppComponent, - SimpleFormComponent, WaveformComponent ], imports: [ diff -r a50a4e814ff3 -r 1fcc8c9ec54c src/app/simple-form/simple-form.component.spec.ts --- a/src/app/simple-form/simple-form.component.spec.ts Wed Oct 26 17:26:31 2016 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,28 +0,0 @@ -/* 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 { SimpleFormComponent } from './simple-form.component'; - -describe('SimpleFormComponent', () => { - let component: SimpleFormComponent; - let fixture: ComponentFixture; - - beforeEach(async(() => { - TestBed.configureTestingModule({ - declarations: [ SimpleFormComponent ] - }) - .compileComponents(); - })); - - beforeEach(() => { - fixture = TestBed.createComponent(SimpleFormComponent); - component = fixture.componentInstance; - fixture.detectChanges(); - }); - - it('should create', () => { - expect(component).toBeTruthy(); - }); -}); diff -r a50a4e814ff3 -r 1fcc8c9ec54c src/app/simple-form/simple-form.component.ts --- a/src/app/simple-form/simple-form.component.ts Wed Oct 26 17:26:31 2016 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,43 +0,0 @@ -import { - Component, OnInit, Input, Output, EventEmitter, - ViewEncapsulation, ViewChild, ElementRef -} from '@angular/core'; - -@Component({ - encapsulation: ViewEncapsulation.Emulated, - selector: 'app-simple-form', - template: ` - -
Hi
-
{{testHi}}
- - -`, - styleUrls: ['./simple-form.component.css'] -}) -export class SimpleFormComponent implements OnInit { - - @ViewChild('testPre') testPre: ElementRef; - testHi = 'Hi'; - - isMousedown; - - @Input() message; - - @Output() update = new EventEmitter(); - - constructor() { - // setInterval(() => this.message = Math.random().toString(), 1000); - } - - ngOnInit() { - this.testPre.nativeElement.innerHTML = Math.random().toString(); - } - -}