| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 | 2 |
| 3 <html> | 3 <html> |
| 4 <head> | 4 <head> |
| 5 <link rel="import" href="home.html"> | 5 <link rel="import" href="home.html"> |
| 6 <link rel="import" href="company-info-loader.html"> | 6 <link rel="import" href="company-info-loader.html"> |
| 7 <link rel="import" href="portfolio.html"> | 7 <link rel="import" href="portfolio.html"> |
| 8 </head> | 8 </head> |
| 9 <body> | 9 <body> |
| 10 <element name="x-root-view" constructor="RootView" extends="div"> | 10 <element name="x-root-view" constructor="RootView" extends="div"> |
| 11 <template> | 11 <template> |
| 12 <template if="currentRouteName == 'home'"> | 12 <template if="currentRouteName == 'home'"> |
| 13 <x-home></x-home> | 13 <x-home></x-home> |
| 14 </template> | 14 </template> |
| 15 <template if="currentRouteName == 'companyInfo'"> | 15 <template if="currentRouteName == 'companyInfo'"> |
| 16 <x-company-info-loader route="{{route.getRoute('companyInfo')}}"></x-c
ompany-info-loader> | 16 <x-company-info-loader route="{{route.getRoute('companyInfo')}}"></x-c
ompany-info-loader> |
| 17 </template> | 17 </template> |
| 18 <template if="currentRouteName == 'portfolio'"> | 18 <template if="currentRouteName == 'portfolio'"> |
| 19 <x-porfolio route="{{route.getRoute('portfolio')}}"></x-porfolio> | 19 <x-porfolio route="{{route.getRoute('portfolio')}}"></x-porfolio> |
| 20 </template> | 20 </template> |
| 21 </template> | 21 </template> |
| 22 <script type="application/dart" src="root-view.dart"></script> | 22 <script type="application/dart" src="root-view.dart"></script> |
| 23 </element> | 23 </element> |
| 24 </body> | 24 </body> |
| 25 </html> | 25 </html> |
| OLD | NEW |