Skip to content

Commit

Permalink
fix(templates): suffix templates page #8320 (#8368)
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonornela authored and jgw96 committed Oct 18, 2016
1 parent d334a43 commit 61620f8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 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
2 changes: 1 addition & 1 deletion scripts/templates/page/ts.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ 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 61620f8

Please sign in to comment.