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

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

Issue 9728009: Template bug fixes and new features. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Undid css.status change 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/template/tokenizer.dart ('k') | utils/tests/template/name_entry_text.tmpl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/tests/template/callview.tmpl
diff --git a/utils/tests/template/callview.tmpl b/utils/tests/template/callview.tmpl
new file mode 100644
index 0000000000000000000000000000000000000000..ad25c9b414ae24c332d5d70d01369f226b95bb3c
--- /dev/null
+++ b/utils/tests/template/callview.tmpl
@@ -0,0 +1,18 @@
+template NameEntry(String name, int age) {
+ <div var=topDiv attr="test" attr1=test1 attr2='test2' attr3=test3>
+ <span var=spanElem>${name}</span>
+ <span> - </span>
+ <span>${age}</span>
+ ${#NameEntry2(name, age)}
+ </div>
+}
+
+template NameEntry2(String name, int age) {
+ <div var=topDiv2 style="background-color: yellow;">
+ <span var=spanElem2>${name}</span>
+ <span> - </span>
+ <span>${age}</span>
+ </div>
+}
+
+
« no previous file with comments | « utils/template/tokenizer.dart ('k') | utils/tests/template/name_entry_text.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698