update cities example

This commit is contained in:
rolux 2012-06-27 20:30:01 +02:00
parent d6dcf33427
commit 5da1b606eb

View file

@ -343,15 +343,10 @@ Ox.load({UI: {showScreen: true}, Geo: {}}, function() {
*/
columnsVisible: true,
/*
We pass our array of cities of `items`.
We pass our array of cities as `items`.
*/
items: cities,
/*
FIXME: Actually, 'keys' doesn't make so much sense when the
API is local, since the list has been passed all data anyway
*/
keys: ['capital'],
/*
We don't want to allow simulaneous selection of multiple
items, so we set `max` to `1`.
*/
@ -530,7 +525,7 @@ Ox.load({UI: {showScreen: true}, Geo: {}}, function() {
: 8;
},
/*
We pass our array of cities of `places`.
We pass our array of cities as `places`.
*/
places: cities,
/*