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

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

Issue 9695048: Template parser (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Siggi's comments Created 8 years, 9 months 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_simple.dart ('k') | utils/tests/template/top_searches.tmpl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Sample for #with templates:
2 //
3 // productview.tmpl
4 // productview2.tmpl
5
6
7 #import('dart:html');
8 #source('productview.dart');
9
10 class Person {
11 String name;
12 int age;
13
14 Person(this.name, this.age);
15 }
16
17 void main() {
18 // Simple template.
19 Person person = new Person("Terry Lucas", 52);
20 ProductView view = new ProductView(person);
21 document.body.elements.add(view.root);
22 }
23
OLDNEW
« no previous file with comments | « utils/tests/template/test_simple.dart ('k') | utils/tests/template/top_searches.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698