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: clear items cache after login/logout
Ox.load('UI', {
Ox.load({
UI: {
debug: true,
hideScreen: false,
loadImages: true,
showScreen: true,
theme: 'modern'
},
Geo: {}
}, function(browserSupported) {
// fixme: use Ox.extend()
Ox.load('Geo', function() {
window.pandora = new Ox.App({url: '/api/'}).bindEvent({
load: function(data) {
@ -176,5 +177,3 @@ Ox.load('UI', {
}
});
});