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

Side by Side Diff: utils/tests/template/test_simple.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_nested.dart ('k') | utils/tests/template/test_with.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 testing templates: 1 // Sample for testing templates:
2 // 2 //
3 // name_entry.tmpl 3 // name_entry.tmpl
4 // name_entry2.tmpl 4 // name_entry2.tmpl
5 // name_entry_css.tmpl 5 // name_entry_css.tmpl
6 6
7 #import('dart:html'); 7 import 'dart:html';
8 #source('name_entry.dart'); 8 part 'name_entry.dart';
9 9
10 void main() { 10 void main() {
11 // Simple template. 11 // Simple template.
12 var x = new NameEntry("Terry Lucas", 52); 12 var x = new NameEntry("Terry Lucas", 52);
13 var y = x.root; 13 var y = x.root;
14 document.body.elements.add(y); 14 document.body.elements.add(y);
15 } 15 }
16 16
OLDNEW
« no previous file with comments | « utils/tests/template/test_nested.dart ('k') | utils/tests/template/test_with.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698