Files
sdk/utils/tests/template/test_complex.dart
T
gram@google.com 58a016634c Update utils to new library syntax.
This doesn't include adding partofs; that will have to be done later.
Review URL: https://codereview.chromium.org//11358145

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14693 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-08 17:42:40 +00:00

18 lines
358 B
Dart

// Sample for complex templates:
//
// top_searches_css.tmpl
import 'dart:html';
part 'complex_datamodel.dart';
part '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);
}