forked from 0x2620/pandora
use new module load syntax
This commit is contained in:
parent
131fe30a58
commit
e76cbc998e
1 changed files with 152 additions and 153 deletions
|
@ -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) {
|
||||
|
@ -175,6 +176,4 @@ Ox.load('UI', {
|
|||
);
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue