use new module load syntax

This commit is contained in:
rolux 2011-09-09 23:05:20 +00:00
parent 131fe30a58
commit e76cbc998e

View file

@ -8,18 +8,19 @@
// fixme: don't reload full right panel on sortSelect // fixme: don't reload full right panel on sortSelect
// fixme: clear items cache after login/logout // fixme: clear items cache after login/logout
Ox.load('UI', { Ox.load({
UI: {
debug: true, debug: true,
hideScreen: false, hideScreen: false,
loadImages: true, loadImages: true,
showScreen: true, showScreen: true,
theme: 'modern' theme: 'modern'
},
Geo: {}
}, function(browserSupported) { }, function(browserSupported) {
// fixme: use Ox.extend() // fixme: use Ox.extend()
Ox.load('Geo', function() {
window.pandora = new Ox.App({url: '/api/'}).bindEvent({ window.pandora = new Ox.App({url: '/api/'}).bindEvent({
load: function(data) { load: function(data) {
@ -176,5 +177,3 @@ Ox.load('UI', {
} }
}); });
});