diff options
Diffstat (limited to 'vid-webpack-master/src/app/home')
4 files changed, 0 insertions, 50 deletions
diff --git a/vid-webpack-master/src/app/home/home.component.e2e-spec.js b/vid-webpack-master/src/app/home/home.component.e2e-spec.js deleted file mode 100644 index 41203f9d8..000000000 --- a/vid-webpack-master/src/app/home/home.component.e2e-spec.js +++ /dev/null @@ -1,13 +0,0 @@ -describe('Home', function () { - - beforeEach(function () { - browser.get('/'); - }); - - it('should have <my-home>', function () { - var home = element(by.css('vid-app my-home')); - expect(home.isPresent()).toEqual(true); - expect(home.getText()).toEqual("Home Works!"); - }); - -}); diff --git a/vid-webpack-master/src/app/home/home.component.html b/vid-webpack-master/src/app/home/home.component.html deleted file mode 100644 index 604d9e1d0..000000000 --- a/vid-webpack-master/src/app/home/home.component.html +++ /dev/null @@ -1,3 +0,0 @@ -<p> - Home Works! -</p> diff --git a/vid-webpack-master/src/app/home/home.component.scss b/vid-webpack-master/src/app/home/home.component.scss deleted file mode 100644 index 5db1e17a3..000000000 --- a/vid-webpack-master/src/app/home/home.component.scss +++ /dev/null @@ -1,4 +0,0 @@ -// component styles are encapsulated and only applied to their components -* { - color: #FFEF00; -} diff --git a/vid-webpack-master/src/app/home/home.component.ts b/vid-webpack-master/src/app/home/home.component.ts deleted file mode 100644 index 1adaf0ebf..000000000 --- a/vid-webpack-master/src/app/home/home.component.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { Component, OnInit } from '@angular/core'; -import { SdcService } from '../services/sdc.service'; -import { DataService } from '../services/data.service'; - -@Component({ - selector: 'my-home', - templateUrl: './home.component.html', - styleUrls: ['./home.component.scss'], - providers: [SdcService, DataService] -}) -export class HomeComponent implements OnInit { - - constructor(private _sdcService: SdcService) { - // Do stuff - } - - ngOnInit() { - console.log('Hello Home'); - console.log('getServicesModels: '); - this._sdcService.getServicesModels().subscribe( - // onNext() function - value => console.log('value is ', value), - // onError() function - error => console.log('error is ', error), - // onComplete() function - () => console.log('completed') - ); - } - -} |