Skip to content

Commit fd4d2e5

Browse files
committed
Merge pull request dart-archive#68 from financeCoding/comment_fix
Unnecessary profiling reference is out
2 parents b8899d1 + dbfd11a commit fd4d2e5

File tree

6 files changed

+0
-16
lines changed

6 files changed

+0
-16
lines changed

Chapter_02/web/main.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
library recipe_book;
22

33
import 'package:angular/angular.dart';
4-
import 'package:perf_api/perf_api.dart';
54

65
// Temporary, please follow https://github.com/angular/angular.dart/issues/476
76
@MirrorsUsed(targets: const['recipe_book'], override: '*')
@@ -78,7 +77,6 @@ class Recipe {
7877
class MyAppModule extends Module {
7978
MyAppModule() {
8079
type(RecipeBookController);
81-
type(Profiler, implementedBy: Profiler); // comment out to enable profiling
8280
}
8381
}
8482

Chapter_03/web/main.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ library recipe_book;
22

33
import 'package:angular/angular.dart';
44
import 'package:di/di.dart';
5-
import 'package:perf_api/perf_api.dart';
65

76
import 'package:angular_dart_demo/rating/rating_component.dart';
87
import 'package:angular_dart_demo/recipe_book.dart';
@@ -15,7 +14,6 @@ class MyAppModule extends Module {
1514
MyAppModule() {
1615
type(RecipeBookController);
1716
type(RatingComponent);
18-
type(Profiler, implementedBy: Profiler); // comment out to enable profiling
1917
}
2018
}
2119

Chapter_04/web/main.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ library recipe_book;
22

33
import 'package:angular/angular.dart';
44
import 'package:di/di.dart';
5-
import 'package:perf_api/perf_api.dart';
65

76
import 'package:angular_dart_demo/recipe_book.dart';
87
import 'package:angular_dart_demo/rating/rating_component.dart';
@@ -19,7 +18,6 @@ class MyAppModule extends Module {
1918
type(RecipeBookController);
2019
type(RatingComponent);
2120
type(Tooltip);
22-
type(Profiler, implementedBy: Profiler); // comment out to enable profiling
2321
}
2422
}
2523

Chapter_05/web/main.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ library recipe_book;
22

33
import 'package:angular/angular.dart';
44
import 'package:di/di.dart';
5-
import 'package:perf_api/perf_api.dart';
65

76
import 'package:angular_dart_demo/recipe_book.dart';
87
import 'package:angular_dart_demo/filter/category_filter.dart';
@@ -21,7 +20,6 @@ class MyAppModule extends Module {
2120
type(RatingComponent);
2221
type(Tooltip);
2322
type(CategoryFilter);
24-
type(Profiler, implementedBy: Profiler); // comment out to enable profiling
2523
}
2624
}
2725

Chapter_06/web/main.dart

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

109
import 'package:angular_dart_demo/recipe_book.dart';
1110
import 'package:angular_dart_demo/filter/category_filter.dart';
@@ -28,7 +27,6 @@ class MyAppModule extends Module {
2827
type(RatingComponent);
2928
type(Tooltip);
3029
type(CategoryFilter);
31-
type(Profiler, implementedBy: Profiler); // comment out to enable profiling
3230
type(SearchRecipeComponent);
3331
type(ViewRecipeComponent);
3432
type(QueryService);

Chapter_07/web/main.dart

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
// Used by di codegen to identify instantiable types.
2-
@Injectables(const [
3-
Profiler
4-
])
51
library recipe_book;
62

73
// Temporary, please follow https://github.com/angular/angular.dart/issues/476
@@ -16,7 +12,6 @@ import 'package:angular/routing/module.dart';
1612
import 'package:di/di.dart';
1713
import 'package:di/annotations.dart';
1814
import 'package:logging/logging.dart';
19-
import 'package:perf_api/perf_api.dart';
2015

2116
import 'package:angular_dart_demo/recipe_book.dart';
2217
import 'package:angular_dart_demo/filter/category_filter.dart';
@@ -40,7 +35,6 @@ class MyAppModule extends Module {
4035
type(RatingComponent);
4136
type(Tooltip);
4237
type(CategoryFilter);
43-
type(Profiler, implementedBy: Profiler); // comment out to enable profiling
4438
type(SearchRecipeComponent);
4539
type(ViewRecipeComponent);
4640
type(QueryService);

0 commit comments

Comments
 (0)