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); |
+} |
+ |