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