Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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