Skip to content

Commit

Permalink
fix(templates): suffix templates page ionic-team#8320
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonornela committed Sep 30, 2016
1 parent 9b65022 commit 47e894a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion scripts/templates/page/spec.ts.tmpl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

describe('$CLASSNAME', () => {
describe('$CLASSNAMEPage', () => {
it('should do something', () => {
expect(true).toEqual(true);
});
Expand Down
4 changes: 2 additions & 2 deletions scripts/templates/page/ts.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}

}
2 changes: 1 addition & 1 deletion scripts/templates/tabs/spec.ts.tmpl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

describe('$CLASSNAME', () => {
describe('$CLASSNAMEPage', () => {
it('should do something', () => {
expect(true).toEqual(true);
});
Expand Down
2 changes: 1 addition & 1 deletion scripts/templates/tabs/ts.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ $TAB_IMPORTS
selector: 'page-$FILENAME',
templateUrl: '$FILENAME.html'
})
export class $CLASSNAME {
export class $CLASSNAMEPage {

$TAB_VARIABLES

Expand Down

0 comments on commit 47e894a

Please sign in to comment.