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

Side by Side Diff: utils/tests/template/test_complex2.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/template/test_complex.dart ('k') | utils/tests/template/test_list.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 // Sample for complex templates: 1 // Sample for complex templates:
2 // 2 //
3 // top_searches2.tmpl 3 // top_searches2.tmpl
4 4
5 #import('dart:html'); 5 import 'dart:html';
6 #source('complex_datamodel.dart'); 6 part 'complex_datamodel.dart';
7 #source('top_searches2.dart'); 7 part 'top_searches2.dart';
8 8
9 void main() { 9 void main() {
10 List<Person> persons = dataModel; 10 List<Person> persons = dataModel;
11 11
12 var searchesView = new TopSearches(persons); 12 var searchesView = new TopSearches(persons);
13 13
14 document.body.elements.add(searchesView.root); 14 document.body.elements.add(searchesView.root);
15 } 15 }
16 16
OLDNEW
« no previous file with comments | « utils/tests/template/test_complex.dart ('k') | utils/tests/template/test_list.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698