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
296 B
Dart
Executable File
17 lines
296 B
Dart
Executable File
// Sample for testing templates:
|
|
//
|
|
// name_entry.tmpl
|
|
// name_entry2.tmpl
|
|
// name_entry_css.tmpl
|
|
|
|
import 'dart:html';
|
|
part 'name_entry.dart';
|
|
|
|
void main() {
|
|
// Simple template.
|
|
var x = new NameEntry("Terry Lucas", 52);
|
|
var y = x.root;
|
|
document.body.elements.add(y);
|
|
}
|
|
|