| OLD | NEW |
| 1 library todo; | 1 library todo; |
| 2 | 2 |
| 3 import 'dart:html'; | 3 import 'dart:html'; |
| 4 | 4 |
| 5 import 'package:angular/angular.dart'; | 5 import 'package:angular/angular.dart'; |
| 6 import 'package:angular/application_factory.dart'; | 6 import 'package:angular/application_factory.dart'; |
| 7 import 'package:angular/playback/playback_http.dart'; | 7 import 'package:angular/playback/playback_http.dart'; |
| 8 | 8 |
| 9 class Item { | 9 class Item { |
| 10 String text; | 10 String text; |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 module.type(HttpBackend, implementedBy: RecordingHttpBackend); | 114 module.type(HttpBackend, implementedBy: RecordingHttpBackend); |
| 115 } | 115 } |
| 116 | 116 |
| 117 if (query == '?playback') { | 117 if (query == '?playback') { |
| 118 print('Using playback HttpBackend'); | 118 print('Using playback HttpBackend'); |
| 119 module.type(HttpBackend, implementedBy: PlaybackHttpBackend); | 119 module.type(HttpBackend, implementedBy: PlaybackHttpBackend); |
| 120 } | 120 } |
| 121 | 121 |
| 122 applicationFactory().addModule(module).run(); | 122 applicationFactory().addModule(module).run(); |
| 123 } | 123 } |
| OLD | NEW |