Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(53)

Unified Diff: utils/tests/template/test_simple.dart

Issue 9695048: Template parser (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Siggi's comments Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « utils/tests/template/test_list.dart ('k') | utils/tests/template/test_with.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
+}
+
« no previous file with comments | « utils/tests/template/test_list.dart ('k') | utils/tests/template/test_with.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698