Skip to content

Commit 9b50ecc

Browse files
committed
chore(): remove unused imports
1 parent f8eef55 commit 9b50ecc

File tree

3 files changed

+3
-75
lines changed

3 files changed

+3
-75
lines changed

src/app/app.module.ts

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,15 @@
11
import { SharedModule } from './shared.module';
2-
import {
3-
IonicOfficialComponentsPageModule
4-
} from '../pages/ionic-official-components/ionic-official-components.module';
5-
import { SideMenuPageModule } from '../pages/side-menu/side-menu.module';
6-
import { ThemingPageModule } from '../pages/theming/theming.module';
7-
import { PopupModalPageModule } from '../pages/popup-modal/popup-modal.module';
8-
import { PopupMenuListPageModule } from '../pages/popup-menu/popup-menu.module';
9-
import { MiscellaneousListPageModule } from '../pages/miscellaneous/miscellaneous.module';
10-
import { ProfileListPageModule } from '../pages/profile/profile.module';
11-
import { ListsPageModule } from '../pages/list/list.module';
12-
import { LoginListPageModule } from '../pages/login/login.module';
13-
import { BarcodeScannerPageModule } from '../pages/ionic-native/barcode-scanner/barcode-scanner.module';
142
import { NgModule, ErrorHandler } from '@angular/core';
153
import { IonicApp, IonicModule, IonicErrorHandler } from 'ionic-angular';
164
import { MyApp } from './app.component';
175

18-
import { Modules, Pages, Directives, Pipes, Providers, Components } from './app.imports';
6+
import { Modules, Pages, Providers } from './app.imports';
197

208
@NgModule({
219
declarations: [
2210
// App Core
2311
MyApp,
2412
Pages,
25-
// Components,
26-
// Directives,
27-
// Pipes
2813
],
2914
imports: [
3015
Modules,

src/pages/list/sliding-item/sliding-item.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ <h2>{{item.title}}</h2>
2424
</button>
2525
<button ion-button color="danger" (click)="delete(item)">
2626
<ion-icon name="trash"></ion-icon>
27-
Deleteå
27+
Delete
2828
</button>
2929
</ion-item-options>
3030
</ion-item-sliding>

src/pages/miscellaneous/chat/chats.ts

Lines changed: 1 addition & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { MessagesPage } from './messages/messages';
21
import { Component } from '@angular/core';
32
import { NavController, IonicPage } from 'ionic-angular';
43

@@ -28,65 +27,9 @@ export class ChatsPage {
2827
timestamp: new Date()
2928
}]
3029

31-
constructor(public navCtrl: NavController) {
32-
}
30+
constructor(public navCtrl: NavController) {}
3331

3432
viewMessages(chat) {
3533
this.navCtrl.push('MessagesPage', { chatId: chat.id });
3634
}
37-
38-
/*
39-
users {
40-
{
41-
user-id: 'yannbf',
42-
name: 'Yann',
43-
chats: {
44-
123: true,
45-
456: true
46-
}
47-
},
48-
{
49-
user-id: 'jourdan',
50-
name: 'Jourdan',
51-
chats: {
52-
123: true,
53-
456: true,
54-
}
55-
},
56-
}
57-
58-
123 {
59-
messages: {
60-
{
61-
from: 'Yann',
62-
to: 'Jourdan',
63-
text: 'Hey!',
64-
timestamp: '12093912310'
65-
},
66-
{
67-
from: 'Jourdan',
68-
to: 'Yann',
69-
text: 'What up?',
70-
timestamp: '12093422310'
71-
},
72-
}
73-
}
74-
75-
456 {
76-
messages: {
77-
{
78-
from: 'Yann',
79-
to: 'Jourdan',
80-
text: 'Hey!',
81-
timestamp: '12093912310'
82-
},
83-
{
84-
from: 'Jourdan',
85-
to: 'Yann',
86-
text: 'What up?',
87-
timestamp: '12093422310'
88-
},
89-
}
90-
}
91-
*/
9235
}

0 commit comments

Comments
 (0)