Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Commit 71ba685

Browse files
committed
doing some final code clean up for Chapter 5 before pushing.
1 parent 29355fd commit 71ba685

File tree

3 files changed

+3
-21
lines changed

3 files changed

+3
-21
lines changed

Chapter_05/add.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<div ng-bind-route="add">
2-
<h3>Add recipe</h3>
3-
Now it's your turn. Write some code to add a new recipe
2+
<h3>Add recipe</h3>
3+
Now it's your turn. Write some code to add a new recipe
44
</div>

Chapter_05/main.dart

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import 'package:angular/routing/module.dart';
55
import 'dart:async';
66
import 'dart:convert';
77
import 'package:perf_api/perf_api.dart';
8-
import 'package:logging/logging.dart';
98
import 'package:di/di.dart';
109

1110
part 'category_filter.dart';
@@ -32,7 +31,7 @@ kitchen and took the recipe book with him!""";
3231
// Determine the initial load state of the app
3332
String message = LOADING_MESSAGE;
3433
bool recipesLoaded = false;
35-
bool categoriesLoaded =false;
34+
bool categoriesLoaded = false;
3635

3736
// Data objects that are loaded from the server side via json
3837
List _categories = [];
@@ -83,9 +82,6 @@ kitchen and took the recipe book with him!""";
8382

8483
// TODO - Remove the Profiler type. It's only needed to get rid of Misko's spam
8584
main() {
86-
// Logger.root.level = Level.FINEST;
87-
// Logger.root.onRecord.listen((LogRecord r) { print(r.message); });
88-
8985
var module = new AngularModule()
9086
..type(RecipeBookController)
9187
..type(RatingComponent)

Chapter_05/style.css

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,6 @@ a {
1010
text-decoration: none;
1111
}
1212

13-
#header {
14-
}
15-
16-
#controls {
17-
}
18-
19-
#search-results {
20-
border: 0px solid red;
21-
}
22-
23-
#details {
24-
border: 0px solid black;
25-
}
26-
2713
.extra-space {
2814
padding-left: 10px;
2915
}

0 commit comments

Comments
 (0)