OLD | NEW |
| 1 /** |
| 2 * |
| 3 * Classes and utilities for analyzing performance in AngularDart. |
| 4 * |
| 5 * This is an optional library. You must import it in addition to the [angular.da
rt] |
| 6 * (#angular/angular) library, |
| 7 * like so: |
| 8 * |
| 9 * import 'package:angular/angular.dart'; |
| 10 * import 'package:angular/perf/module.dart'; |
| 11 * |
| 12 * |
| 13 */ |
1 library angular.perf; | 14 library angular.perf; |
2 | 15 |
3 import 'dart:html' as dom; | 16 import 'dart:html' as dom; |
4 | 17 |
5 import 'package:di/di.dart'; | 18 import 'package:di/di.dart'; |
6 import 'package:perf_api/perf_api.dart'; | 19 import 'package:perf_api/perf_api.dart'; |
7 | 20 |
8 part 'dev_tools_timeline.dart'; | 21 part 'dev_tools_timeline.dart'; |
9 | 22 |
10 class NgPerfModule extends Module { | 23 class PerfModule extends Module { |
11 NgPerfModule() { | 24 PerfModule() { |
12 type(Profiler, implementedBy: Profiler); | 25 type(Profiler, implementedBy: Profiler); |
13 } | 26 } |
14 } | 27 } |
OLD | NEW |