Index: utils/tests/template/test_simple.dart |
diff --git a/utils/tests/template/test_simple.dart b/utils/tests/template/test_simple.dart |
new file mode 100755 |
index 0000000000000000000000000000000000000000..1d42382344caaf0359d00ca2ba1b9f92e427c2a2 |
--- /dev/null |
+++ b/utils/tests/template/test_simple.dart |
@@ -0,0 +1,16 @@ |
+// Sample for testing templates: |
+// |
+// name_entry.tmpl |
+// name_entry2.tmpl |
+// name_entry_css.tmpl |
+ |
+#import('dart:html'); |
+#source('name_entry.dart'); |
+ |
+void main() { |
+ // Simple template. |
+ var x = new NameEntry("Terry Lucas", 52); |
+ var y = x.root; |
+ document.body.elements.add(y); |
+} |
+ |