Skip to content

Commit d846d0e

Browse files
committed
got em all
1 parent 685fa38 commit d846d0e

19 files changed

+5
-63
lines changed

.DS_Store

6 KB
Binary file not shown.

app/.DS_Store

6 KB
Binary file not shown.

app/chapter-08/address.component.html

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,7 @@
2020
</select>
2121
</label>
2222
</fieldset>
23-
<fieldset>
24-
<label>
25-
Country:
26-
<select [(ngModel)]="address.country">
27-
<option *ngFor="let country of countries">{{country}}</option>
28-
</select>
29-
</label>
30-
</fieldset>
31-
<fieldset>
23+
\ <fieldset>
3224
<label>
3325
Region:
3426
<select [(ngModel)]="address.region">

app/chapter-08/address.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import { Address } from './model';
1010
export class AddressComponent {
1111
@Input() address: Address;
1212

13-
countries = ['Canada', 'Mexico', 'USA'];
1413
regions = ['East', 'Midwest', 'North', 'South', 'West'];
1514
states = ['California', 'Illinois', 'Jalisco', 'Quebec'];
1615
}

app/chapter-08/customer-list.component.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ export class CustomerListComponent {
2121
street: '123 Main Street',
2222
city: 'Anytown',
2323
state: 'California',
24-
country: 'USA',
2524
region: 'West'
2625
}
2726
},
@@ -32,7 +31,6 @@ export class CustomerListComponent {
3231
street: '456 Rue de Main',
3332
city: 'Quebec City',
3433
state: 'Quebec',
35-
country: 'Canada',
3634
region: 'East'
3735
}
3836
},
@@ -43,7 +41,6 @@ export class CustomerListComponent {
4341
street: '789 Calle Principal',
4442
city: 'Guadalajara',
4543
state: 'Jalisco',
46-
country: 'Mexico',
4744
region: 'South'
4845
}
4946
},
@@ -54,7 +51,6 @@ export class CustomerListComponent {
5451
street: '137 DeKoven Street',
5552
city: 'Chicago',
5653
state: 'Illinois',
57-
country: 'USA',
5854
region: 'Midwest'
5955
}
6056
},

app/chapter-08/model.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,5 @@ export class Address {
99
street: string;
1010
city: string;
1111
state: string;
12-
country: string;
1312
region: string;
1413
}

app/chapter-09-exercise-completed/address.component.html

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,7 @@
2020
</select>
2121
</label>
2222
</fieldset>
23-
<fieldset>
24-
<label>
25-
Country:
26-
<select [(ngModel)]="address.country">
27-
<option *ngFor="let country of countries">{{country}}</option>
28-
</select>
29-
</label>
30-
</fieldset>
31-
<fieldset>
23+
\ <fieldset>
3224
<label>
3325
Region:
3426
<select [(ngModel)]="address.region">

app/chapter-09-exercise-completed/address.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import { Address } from './model';
1010
export class AddressComponent {
1111
@Input() address: Address;
1212

13-
countries = ['Canada', 'Mexico', 'USA'];
1413
regions = ['East', 'Midwest', 'North', 'South', 'West'];
1514
states = ['California', 'Illinois', 'Jalisco', 'Quebec'];
1615
}

app/chapter-09-exercise-completed/model.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,5 @@ export class Address {
99
street: string;
1010
city: string;
1111
state: string;
12-
country: string;
1312
region: string;
1413
}

app/chapter-09/address.component.html

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,7 @@
2020
</select>
2121
</label>
2222
</fieldset>
23-
<fieldset>
24-
<label>
25-
Country:
26-
<select [(ngModel)]="address.country">
27-
<option *ngFor="let country of countries">{{country}}</option>
28-
</select>
29-
</label>
30-
</fieldset>
31-
<fieldset>
23+
\ <fieldset>
3224
<label>
3325
Region:
3426
<select [(ngModel)]="address.region">

0 commit comments

Comments
 (0)