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

Unified Diff: sky/examples/city-list/city-list.sky

Issue 730283002: Fix bad reference in city-list (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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/city-list/city-list.sky
diff --git a/sky/examples/city-list/city-list.sky b/sky/examples/city-list/city-list.sky
index 7d51c7efea461eebc7c38d7d913dc275e86f52aa..92b3aa57598cb24b9ee237e58bf7ab864d776796 100644
--- a/sky/examples/city-list/city-list.sky
+++ b/sky/examples/city-list/city-list.sky
@@ -479,7 +479,7 @@ SkyElement({
this.drawTop -= height;
var tile = targetBottom < this.drawTop ?
- new Tile(datum, null, viewType, -1) : // off-screen
+ new Tile(datum, null, datum.viewType, -1) : // off-screen
this.checkoutTile(type, datum, this.drawTop);
this.firstItem--;
@@ -497,7 +497,7 @@ SkyElement({
this.drawBottom += height;
var tile = targetTop > this.drawBottom ?
- new Tile(datum, null, viewType, -1) : // off-screen
+ new Tile(datum, null, datum.viewType, -1) : // off-screen
this.checkoutTile(type, datum, this.drawBottom - height);
tiles.push(tile);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698