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: 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', {
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
|
||||||
|
|
Loading…
Reference in a new issue