Skip to content

Commit c07458e

Browse files
Yann BragaYann Braga
authored andcommitted
refactor(item-ribbon): remove unnecessary comments
1 parent 461fa87 commit c07458e

File tree

2 files changed

+1
-24
lines changed

2 files changed

+1
-24
lines changed

src/pages/miscellaneous/item-ribbon/item-ribbon.html

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,9 @@
1-
<!--
2-
Generated template for the ItemRibbonPage page.
3-
4-
See http://ionicframework.com/docs/components/#navigation for more info on
5-
Ionic pages and navigation.
6-
-->
71
<ion-header>
8-
92
<ion-navbar>
103
<ion-title>item-ribbon</ion-title>
114
</ion-navbar>
12-
135
</ion-header>
146

15-
167
<ion-content padding>
178
<ion-list>
189
<ion-item *ngFor="let item of thumbnails">
Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,19 @@
11
import { Component } from '@angular/core';
22
import { IonicPage, NavController, NavParams } from 'ionic-angular';
33

4-
/**
5-
* Generated class for the ItemRibbonPage page.
6-
*
7-
* See https://ionicframework.com/docs/components/#navigation for more info on
8-
* Ionic pages and navigation.
9-
*/
10-
114
@IonicPage()
125
@Component({
136
selector: 'page-item-ribbon',
147
templateUrl: 'item-ribbon.html',
158
})
169
export class ItemRibbonPage {
1710

18-
public thumbnails: {title: string, image: string, ribbonText: string, class: string}[] = [
11+
public thumbnails: { title: string, image: string, ribbonText: string, class: string }[] = [
1912
{ title: 'Awesome Shoes - $9', image: 'assets/img/ribbon/shoes.jpg', ribbonText: 'sale', class: 'sale' },
2013
{ title: 'Awesome Team', image: 'assets/img/ribbon/cruzeiro.jpg', ribbonText: 'awesome', class: 'cruzeiro' },
2114
{ title: 'Bad team', image: 'assets/img/ribbon/atletico.jpg', ribbonText: 'bad', class: 'atletico' }
2215
];
2316

2417
constructor(public navCtrl: NavController, public navParams: NavParams) {
2518
}
26-
27-
28-
29-
ionViewDidLoad() {
30-
console.log('ionViewDidLoad ItemRibbonPage');
31-
}
32-
3319
}

0 commit comments

Comments
 (0)