Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(70)

Side by Side Diff: utils/tests/template/real_app.dart

Issue 11358145: Update utils to new library syntax. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « utils/tests/string_encoding/utf8_test.dart ('k') | utils/tests/template/sample.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #import('dart:html'); 1 import 'dart:html';
2 #source('realviews.dart'); 2 part 'realviews.dart';
3 3
4 class Division { 4 class Division {
5 String name; 5 String name;
6 int id; 6 int id;
7 List<Product> products; 7 List<Product> products;
8 8
9 Division(this.name, this.id, this.products); 9 Division(this.name, this.id, this.products);
10 } 10 }
11 11
12 class Product { 12 class Product {
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 expandCollapseElem.innerHTML = showSales ? "&#9654;": "&#9660;"; 99 expandCollapseElem.innerHTML = showSales ? "&#9654;": "&#9660;";
100 expandCollapseElem.classes.remove(showSales ? DivisionSales.expand : Divis ionSales.collapse); 100 expandCollapseElem.classes.remove(showSales ? DivisionSales.expand : Divis ionSales.collapse);
101 expandCollapseElem.classes.add(showSales ? DivisionSales.collapse : Divisi onSales.expand); 101 expandCollapseElem.classes.add(showSales ? DivisionSales.collapse : Divisi onSales.expand);
102 102
103 salesDiv.classes.clear(); 103 salesDiv.classes.clear();
104 salesDiv.classes.add(showSales ? DivisionSales.hideSales : DivisionSales.s howSales); 104 salesDiv.classes.add(showSales ? DivisionSales.hideSales : DivisionSales.s howSales);
105 }); 105 });
106 } 106 }
107 } 107 }
108 108
OLDNEW
« no previous file with comments | « utils/tests/string_encoding/utf8_test.dart ('k') | utils/tests/template/sample.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698