1
0
Fork 0
forked from 0x2620/oxjs

some support for async maps

This commit is contained in:
rolux 2011-05-29 11:52:33 +02:00
commit a280574033
4 changed files with 130 additions and 68 deletions

View file

@ -378,7 +378,7 @@ Ox.load('UI', {debug: true, hideScreen: true, showScreen: true, theme: 'modern'}
{name: 'Alfred Hitchcock', start: '1899-08-13', end: '1980-04-29', type: 'person'},
{name: 'Jorge Luis Borges', start: '1899-08-24', end: '1986-06-14', type: 'person'},
{name: 'Luis Bunuel', start: '1900-02-22', end: '1983-07-29', type: 'person'},
{name: 'Luis Buñuel', start: '1900-02-22', end: '1983-07-29', type: 'person'},
{name: 'Jan Oort', start: '1900-04-28', end: '1992-11-05', type: 'person'},
{name: 'Catherine Hessling', start: '1900-06-22', end: '1979-09-28', type: 'person'},
{name: 'Robert Siodmak', start: '1900-08-08', end: '1973-03-10', type: 'person'},

View file

@ -68,6 +68,7 @@ Ox.load('UI', {debug: true}, function() {
Ox.print('DATA', data)
panel.replaceElement(1, list = new Ox.TreeList({
data: Ox.isEmpty(data) ? [] : {
area: data.area,
components: data.components,
countryCode: data.countryCode,
crossesDateline: data.crossesDateline(),
@ -78,7 +79,6 @@ Ox.load('UI', {debug: true}, function() {
lng: data.lng,
name: data.name,
north: data.north,
size: data.size,
sizeEastWest: data.sizeEastWest,
sizeNorthSouth: data.sizeNorthSouth,
south: data.south,