chore(): add required custom schema to all e2e modules

This commit is contained in:
Josh Thomas
2017-05-19 12:43:09 -05:00
parent c89af152fa
commit 0f1efbd7a4
312 changed files with 890 additions and 579 deletions

View File

@@ -1,4 +1,4 @@
import { NgModule } from '@angular/core';
import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { IonicApp, IonicModule } from '../../../../..';
@@ -15,5 +15,6 @@ import { HomePageModule } from '../pages/home-page/home-page.module';
HomePageModule
],
bootstrap: [IonicApp],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class AppModule { }

View File

@@ -1,4 +1,4 @@
import { NgModule } from '@angular/core';
import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { IonicPageModule } from '../../../../../..';
import { HomePage } from './home-page';
@@ -9,6 +9,7 @@ import { HomePage } from './home-page';
],
imports: [
IonicPageModule.forChild(HomePage)
]
],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class HomePageModule {}

View File

@@ -1,4 +1,4 @@
import { NgModule } from '@angular/core';
import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { IonicApp, IonicModule } from '../../../../..';
@@ -14,6 +14,7 @@ import { FirstPageModule } from '../pages/first-page/first-page.module';
IonicModule.forRoot(AppComponent, {}),
FirstPageModule
],
bootstrap: [IonicApp]
bootstrap: [IonicApp],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class AppModule { }

View File

@@ -1,4 +1,4 @@
import { NgModule } from '@angular/core';
import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { IonicPageModule } from '../../../../../..';
import { FirstPage } from './first-page';
@@ -8,6 +8,7 @@ import { FirstPage } from './first-page';
],
declarations: [
FirstPage
]
],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class FirstPageModule { }

View File

@@ -1,4 +1,4 @@
import { NgModule } from '@angular/core';
import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { IonicPageModule } from '../../../../../..';
import { SecondPage } from './second-page';
@NgModule({
@@ -10,6 +10,7 @@ import { SecondPage } from './second-page';
],
entryComponents: [
SecondPage
]
],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class SecondPageModule { }