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

Unified Diff: sky/examples/file-browser.sky

Issue 705683002: fix file-browser (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « no previous file | sky/framework/sky-element/TemplateBinding.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/file-browser.sky
diff --git a/sky/examples/file-browser.sky b/sky/examples/file-browser.sky
index 43c1267b30cfd512f4e3040c2acb175cdd4dcf3e..ba456ae9e3f1d1bda820aa63d46c8b00d2dfb642 100644
--- a/sky/examples/file-browser.sky
+++ b/sky/examples/file-browser.sky
@@ -13,11 +13,11 @@
}
</style>
<heading>File browser for {{ url }}</heading>
- <template repeat="{{ directory in directories }}">
- <a href="{{ directory }}">{{ directory }}</a>
+ <template repeat="{{ directories }}">
+ <a href="{{}}">{{}}</a>
</template>
- <template repeat="{{ file in files }}">
- <a href="{{ file }}">{{ file }}</a>
+ <template repeat="{{ files }}">
+ <a href="{{}}">{{}}</a>
</template>
</template>
<script>
« no previous file with comments | « no previous file | sky/framework/sky-element/TemplateBinding.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698