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

Unified Diff: utils/tests/template/top_searches.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/tests/template/test_nested.dart ('k') | utils/tests/template/top_searches2.tmpl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/tests/template/top_searches.tmpl
diff --git a/utils/tests/template/top_searches.tmpl b/utils/tests/template/top_searches.tmpl
index 8004f282d34a9a95877daec16bec4ce4b52ece39..2dee107337dcefdb0cbc579c85719be51f6614b0 100644
--- a/utils/tests/template/top_searches.tmpl
+++ b/utils/tests/template/top_searches.tmpl
@@ -6,10 +6,10 @@ template TopSearches(Person person, var searches) {
<span>age&nbsp;=&nbsp;</span>
<span>${age}</span>
</div>
- ${#each searches}
+ ${#each searches search}
<div>
- <span style="margin-left: 10px;">query=${query}</span>
- <span style="margin-left: 20px;">hits=${total}</span>
+ <span style="margin-left: 10px;">query=${search.query}</span>
+ <span style="margin-left: 20px;">hits=${search.total}</span>
</div>
${/each}
${/with}
« no previous file with comments | « utils/tests/template/test_nested.dart ('k') | utils/tests/template/top_searches2.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698