From 47e894a4f57efa59f85a3c6702a7c0174368a4ac Mon Sep 17 00:00:00 2001 From: Ramon Ornelas Date: Fri, 30 Sep 2016 17:30:57 -0300 Subject: [PATCH] fix(templates): suffix templates page #8320 --- scripts/templates/page/spec.ts.tmpl | 2 +- scripts/templates/page/ts.tmpl | 4 ++-- scripts/templates/tabs/spec.ts.tmpl | 2 +- scripts/templates/tabs/ts.tmpl | 2 +- 4 files changed, 5 insertions(+), 5 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 022748c4318..da3d73ad272 100644 --- a/scripts/templates/page/ts.tmpl +++ b/scripts/templates/page/ts.tmpl @@ -11,12 +11,12 @@ import { NavController } from 'ionic-angular'; selector: 'page-$FILENAME', templateUrl: '$FILENAME.html' }) -export class $CLASSNAME { +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