From 9cc1d4b9812e794fda6927e452c536f3e037b8de Mon Sep 17 00:00:00 2001 From: Morgan McMillian Date: Sat, 10 Jun 2017 21:11:58 -0700 Subject: [PATCH] cleaned up imports --- src/pages/login/login.module.ts | 16 ---------------- src/pages/login/login.ts | 1 - src/pages/post-details/post-details.module.ts | 16 ---------------- src/pages/post-details/post-details.ts | 1 - src/pages/stream/stream.module.ts | 16 ---------------- src/pages/stream/stream.ts | 1 - 6 files changed, 51 deletions(-) delete mode 100644 src/pages/login/login.module.ts delete mode 100644 src/pages/post-details/post-details.module.ts delete mode 100644 src/pages/stream/stream.module.ts diff --git a/src/pages/login/login.module.ts b/src/pages/login/login.module.ts deleted file mode 100644 index 1fc75b4..0000000 --- a/src/pages/login/login.module.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { NgModule } from '@angular/core'; -import { IonicPageModule } from 'ionic-angular'; -import { LoginPage } from './login'; - -@NgModule({ - declarations: [ - LoginPage, - ], - imports: [ - IonicPageModule.forChild(LoginPage), - ], - exports: [ - LoginPage - ] -}) -export class LoginPageModule {} diff --git a/src/pages/login/login.ts b/src/pages/login/login.ts index c23eed6..8435f8f 100644 --- a/src/pages/login/login.ts +++ b/src/pages/login/login.ts @@ -14,7 +14,6 @@ import * as pnut from 'pnut-butter'; * See http://ionicframework.com/docs/components/#navigation for more info * on Ionic pages and navigation. */ -@IonicPage() @Component({ selector: 'page-login', templateUrl: 'login.html', diff --git a/src/pages/post-details/post-details.module.ts b/src/pages/post-details/post-details.module.ts deleted file mode 100644 index 32e2af6..0000000 --- a/src/pages/post-details/post-details.module.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { NgModule } from '@angular/core'; -import { IonicPageModule } from 'ionic-angular'; -import { PostDetailsPage } from './post-details'; - -@NgModule({ - declarations: [ - PostDetailsPage, - ], - imports: [ - IonicPageModule.forChild(PostDetailsPage), - ], - exports: [ - PostDetailsPage - ] -}) -export class PostDetailsPageModule {} diff --git a/src/pages/post-details/post-details.ts b/src/pages/post-details/post-details.ts index f8ec320..12bb794 100644 --- a/src/pages/post-details/post-details.ts +++ b/src/pages/post-details/post-details.ts @@ -7,7 +7,6 @@ import { IonicPage, NavController, NavParams } from 'ionic-angular'; * See http://ionicframework.com/docs/components/#navigation for more info * on Ionic pages and navigation. */ -@IonicPage() @Component({ selector: 'page-post-details', templateUrl: 'post-details.html', diff --git a/src/pages/stream/stream.module.ts b/src/pages/stream/stream.module.ts deleted file mode 100644 index a1b6be0..0000000 --- a/src/pages/stream/stream.module.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { NgModule } from '@angular/core'; -import { IonicPageModule } from 'ionic-angular'; -import { StreamPage } from './stream'; - -@NgModule({ - declarations: [ - StreamPage, - ], - imports: [ - IonicPageModule.forChild(StreamPage), - ], - exports: [ - StreamPage - ] -}) -export class StreamPageModule {} diff --git a/src/pages/stream/stream.ts b/src/pages/stream/stream.ts index f3459bd..d32cc2c 100644 --- a/src/pages/stream/stream.ts +++ b/src/pages/stream/stream.ts @@ -10,7 +10,6 @@ import * as pnut from 'pnut-butter'; * See http://ionicframework.com/docs/components/#navigation for more info * on Ionic pages and navigation. */ -@IonicPage() @Component({ selector: 'page-stream', templateUrl: 'stream.html',