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

Unified Diff: utils/tests/template/test_complex.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/sample.dart ('k') | utils/tests/template/test_complex2.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/tests/template/test_complex.dart
diff --git a/utils/tests/template/test_complex.dart b/utils/tests/template/test_complex.dart
new file mode 100644
index 0000000000000000000000000000000000000000..00a9ddf9e5b6551add84a6825608b89816cccf0b
--- /dev/null
+++ b/utils/tests/template/test_complex.dart
@@ -0,0 +1,17 @@
+// Sample for complex templates:
+//
+// top_searches_css.tmpl
+
+#import('dart:html');
+#source('complex_datamodel.dart');
+#source('top_searches.dart');
+
+void main() {
+ List<Person> persons = dataModel;
+
+ Person whichPerson = persons[2];
+ var searchesView = new TopSearches(whichPerson, whichPerson.searches);
+
+ document.body.elements.add(searchesView.root);
+}
+
« no previous file with comments | « utils/tests/template/sample.dart ('k') | utils/tests/template/test_complex2.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698