58a016634c
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
17 lines
295 B
Dart
17 lines
295 B
Dart
// Sample for complex templates:
|
|
//
|
|
// top_searches2.tmpl
|
|
|
|
import 'dart:html';
|
|
part 'complex_datamodel.dart';
|
|
part 'top_searches2.dart';
|
|
|
|
void main() {
|
|
List<Person> persons = dataModel;
|
|
|
|
var searchesView = new TopSearches(persons);
|
|
|
|
document.body.elements.add(searchesView.root);
|
|
}
|
|
|