| 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 */ | |
| 14 library angular.perf; | 1 library angular.perf; |
| 15 | 2 |
| 16 import 'dart:html' as dom; | 3 import 'dart:html' as dom; |
| 17 | 4 |
| 18 import 'package:di/di.dart'; | 5 import 'package:di/di.dart'; |
| 19 import 'package:perf_api/perf_api.dart'; | 6 import 'package:perf_api/perf_api.dart'; |
| 20 | 7 |
| 21 part 'dev_tools_timeline.dart'; | 8 part 'dev_tools_timeline.dart'; |
| 22 | 9 |
| 23 class PerfModule extends Module { | 10 class NgPerfModule extends Module { |
| 24 PerfModule() { | 11 NgPerfModule() { |
| 25 type(Profiler, implementedBy: Profiler); | 12 type(Profiler, implementedBy: Profiler); |
| 26 } | 13 } |
| 27 } | 14 } |
| OLD | NEW |