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

Unified Diff: utils/tests/template/productview3.tmpl

Issue 9791020: Fixed bug with template control statements as first node of template (each, with, call, etc.). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: CL cleanup 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/applications2.tmpl ('k') | utils/tests/template/run » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/tests/template/productview3.tmpl
diff --git a/utils/tests/template/productview3.tmpl b/utils/tests/template/productview3.tmpl
new file mode 100644
index 0000000000000000000000000000000000000000..16bcfbf5c8193932b7102d7513eb5c2cbdd77e24
--- /dev/null
+++ b/utils/tests/template/productview3.tmpl
@@ -0,0 +1,10 @@
+template ProductView(Person person) {
+ ${#with person}
+ <div>
+ <span>${name}</span>
+ <span>-</span>
+ <span>${age}</span>
+ </div>
+ ${/with}
+}
+
« no previous file with comments | « utils/tests/template/applications2.tmpl ('k') | utils/tests/template/run » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698