update cities example
This commit is contained in:
parent
d6dcf33427
commit
5da1b606eb
1 changed files with 2 additions and 7 deletions
|
@ -343,15 +343,10 @@ Ox.load({UI: {showScreen: true}, Geo: {}}, function() {
|
||||||
*/
|
*/
|
||||||
columnsVisible: true,
|
columnsVisible: true,
|
||||||
/*
|
/*
|
||||||
We pass our array of cities of `items`.
|
We pass our array of cities as `items`.
|
||||||
*/
|
*/
|
||||||
items: cities,
|
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
|
We don't want to allow simulaneous selection of multiple
|
||||||
items, so we set `max` to `1`.
|
items, so we set `max` to `1`.
|
||||||
*/
|
*/
|
||||||
|
@ -530,7 +525,7 @@ Ox.load({UI: {showScreen: true}, Geo: {}}, function() {
|
||||||
: 8;
|
: 8;
|
||||||
},
|
},
|
||||||
/*
|
/*
|
||||||
We pass our array of cities of `places`.
|
We pass our array of cities as `places`.
|
||||||
*/
|
*/
|
||||||
places: cities,
|
places: cities,
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue