| OLD | NEW |
| 1 library company_info_loader; | 1 library company_info_loader; |
| 2 | 2 |
| 3 import 'dart:html'; | 3 import 'dart:html'; |
| 4 | 4 |
| 5 import 'package:web_ui/web_ui.dart'; | 5 import 'package:web_ui/web_ui.dart'; |
| 6 import 'package:route_hierarchical/client.dart'; | 6 import 'package:route_hierarchical/client.dart'; |
| 7 | 7 |
| 8 import 'data.dart' as data; | 8 import 'data.dart' as data; |
| 9 | 9 |
| 10 | 10 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 window.alert('Unable to fetch company $tokenInt'); | 30 window.alert('Unable to fetch company $tokenInt'); |
| 31 } | 31 } |
| 32 company = result; | 32 company = result; |
| 33 }); | 33 }); |
| 34 } else { | 34 } else { |
| 35 // TODO: navigate to invalid company route... | 35 // TODO: navigate to invalid company route... |
| 36 window.alert('Invalid company id $tokenInt'); | 36 window.alert('Invalid company id $tokenInt'); |
| 37 } | 37 } |
| 38 } | 38 } |
| 39 } | 39 } |
| OLD | NEW |