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

Unified Diff: utils/tests/template/test_complex2.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « utils/tests/template/test_complex.dart ('k') | utils/tests/template/test_list.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/tests/template/test_complex2.dart
diff --git a/utils/tests/template/test_complex2.dart b/utils/tests/template/test_complex2.dart
new file mode 100644
index 0000000000000000000000000000000000000000..03eb72ba9c770eb1c4f12d4d4e8b8bfa49a0e67e
--- /dev/null
+++ b/utils/tests/template/test_complex2.dart
@@ -0,0 +1,16 @@
+// Sample for complex templates:
+//
+// top_searches2.tmpl
+
+#import('dart:html');
+#source('complex_datamodel.dart');
+#source('top_searches2.dart');
+
+void main() {
+ List<Person> persons = dataModel;
+
+ var searchesView = new TopSearches(persons);
+
+ document.body.elements.add(searchesView.root);
+}
+
« 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