1
0
Fork 0
forked from 0x2620/oxjs

fixes for list and map

This commit is contained in:
rlx 2011-03-05 15:34:16 +00:00
commit 6496f4d0f6
4 changed files with 1350 additions and 436 deletions

View file

@ -10,9 +10,15 @@ $(function() {
height: height,
places: data.map(function(place) {
return Ox.extend({
countryCode: place.code,
editable: true,
flag: place.code,
geoname: place.name,
name: place.name,
size: place.size,
type: 'Country',
lat: place.lat,
lng: place.lng,
south: place.south,
west: place.west,
north: place.north,
@ -73,7 +79,7 @@ $(function() {
sizeNorthSouth: data.sizeNorthSouth,
south: data.south,
west: data.west,
types: data.types
type: data.type
}
}));
}