From 61620f8d48f7b8ee969fdb0b44a33d4901dbbfd0 Mon Sep 17 00:00:00 2001 From: Ramon Henrique Ornelas Date: Tue, 18 Oct 2016 17:37:45 -0200 Subject: [PATCH] fix(templates): suffix templates page #8320 (#8368) --- scripts/templates/page/spec.ts.tmpl | 2 +- scripts/templates/page/ts.tmpl | 2 +- scripts/templates/tabs/spec.ts.tmpl | 2 +- scripts/templates/tabs/ts.tmpl | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/templates/page/spec.ts.tmpl b/scripts/templates/page/spec.ts.tmpl index 2a21a514a9f..4044cbd706e 100644 --- a/scripts/templates/page/spec.ts.tmpl +++ b/scripts/templates/page/spec.ts.tmpl @@ -1,5 +1,5 @@ -describe('$CLASSNAME', () => { +describe('$CLASSNAMEPage', () => { it('should do something', () => { expect(true).toEqual(true); }); diff --git a/scripts/templates/page/ts.tmpl b/scripts/templates/page/ts.tmpl index 5791872c2ff..da3d73ad272 100644 --- a/scripts/templates/page/ts.tmpl +++ b/scripts/templates/page/ts.tmpl @@ -16,7 +16,7 @@ export class $CLASSNAMEPage { constructor(public navCtrl: NavController) {} ionViewDidLoad() { - console.log('Hello $CLASSNAME Page'); + console.log('Hello $CLASSNAMEPage Page'); } } diff --git a/scripts/templates/tabs/spec.ts.tmpl b/scripts/templates/tabs/spec.ts.tmpl index 2a21a514a9f..4044cbd706e 100644 --- a/scripts/templates/tabs/spec.ts.tmpl +++ b/scripts/templates/tabs/spec.ts.tmpl @@ -1,5 +1,5 @@ -describe('$CLASSNAME', () => { +describe('$CLASSNAMEPage', () => { it('should do something', () => { expect(true).toEqual(true); }); diff --git a/scripts/templates/tabs/ts.tmpl b/scripts/templates/tabs/ts.tmpl index c2e1926a68f..e29f736e4db 100755 --- a/scripts/templates/tabs/ts.tmpl +++ b/scripts/templates/tabs/ts.tmpl @@ -12,7 +12,7 @@ $TAB_IMPORTS selector: 'page-$FILENAME', templateUrl: '$FILENAME.html' }) -export class $CLASSNAME { +export class $CLASSNAMEPage { $TAB_VARIABLES