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

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

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/productview.tmpl ('k') | utils/tests/template/real_app.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/tests/template/productview2.tmpl
diff --git a/utils/tests/template/productview2.tmpl b/utils/tests/template/productview2.tmpl
new file mode 100644
index 0000000000000000000000000000000000000000..c51d9ec760a1b44a2766d96d867acfe025dd1a08
--- /dev/null
+++ b/utils/tests/template/productview2.tmpl
@@ -0,0 +1,16 @@
+template ProductView(Person person) {
+ <div>
+ <span var=a1>
+ <h1>
+ ${#with person}
+ <div>
+ <span>${name}</span>
+ <span>-</span>
+ <span>${age}</span>
+ </div>
+ ${/with}
+ </h1>
+ </span>
+ </div>
+}
+
« no previous file with comments | « utils/tests/template/productview.tmpl ('k') | utils/tests/template/real_app.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698