| OLD | NEW |
| 1 import 'package:di/di.dart'; | 1 import 'package:di/di.dart'; |
| 2 import 'package:angular/angular.dart'; | 2 import 'package:angular/angular.dart'; |
| 3 import 'package:angular/playback/playback_http.dart'; | 3 import 'package:angular/playback/playback_http.dart'; |
| 4 import 'todo.dart'; | 4 import 'todo.dart'; |
| 5 | 5 |
| 6 @MirrorsUsed(targets: const[ | 6 @MirrorsUsed(targets: const[ |
| 7 'angular', | 7 'angular', |
| 8 'angular.core', | 8 'angular.core', |
| 9 'angular.core.dom', | 9 'angular.core.dom', |
| 10 'angular.filter', | 10 'angular.filter', |
| 11 'angular.perf', | 11 'angular.perf', |
| 12 'angular.directive', | 12 'angular.directive', |
| 13 'angular.routing', | 13 'angular.routing', |
| 14 'angular.core.parser', | 14 'angular.core.parser.dynamic_parser', |
| 15 'angular.core.parser.lexer', |
| 15 'todo', | 16 'todo', |
| 16 'perf_api', | 17 'perf_api', |
| 17 'List', | 18 'List', |
| 18 'NodeTreeSanitizer', | 19 'NodeTreeSanitizer', |
| 19 'PlaybackHttpBackendConfig' | 20 'PlaybackHttpBackendConfig' |
| 20 ], | 21 ], |
| 21 override: '*') | 22 override: '*') |
| 22 import 'dart:mirrors'; | 23 import 'dart:mirrors'; |
| 23 | 24 |
| 24 import 'dart:html'; | 25 import 'dart:html'; |
| (...skipping 21 matching lines...) Expand all Loading... |
| 46 module.type(HttpBackend, implementedBy: RecordingHttpBackend); | 47 module.type(HttpBackend, implementedBy: RecordingHttpBackend); |
| 47 } | 48 } |
| 48 | 49 |
| 49 if (query == '?playback') { | 50 if (query == '?playback') { |
| 50 print('Using playback HttpBackend'); | 51 print('Using playback HttpBackend'); |
| 51 module.type(HttpBackend, implementedBy: PlaybackHttpBackend); | 52 module.type(HttpBackend, implementedBy: PlaybackHttpBackend); |
| 52 } | 53 } |
| 53 | 54 |
| 54 ngBootstrap(module:module); | 55 ngBootstrap(module:module); |
| 55 } | 56 } |
| OLD | NEW |