2011-05-07 15:56:29 +00:00
|
|
|
Ox.load('UI', {
|
|
|
|
debug: true,
|
|
|
|
theme: 'classic'
|
|
|
|
}, function() {
|
|
|
|
Ox.Theme('classic');
|
|
|
|
Ox.DocPanel({
|
2011-05-09 08:54:52 +00:00
|
|
|
files: [
|
|
|
|
'Ox.js',
|
|
|
|
'Ox.Geo/Ox.Geo.js',
|
|
|
|
'Ox.UI/js/Map/Ox.Map.js',
|
|
|
|
'Ox.UI/js/Core/Ox.Element.js',
|
|
|
|
'Ox.UI/js/Core/Ox.JQueryElement.js'
|
|
|
|
],
|
2011-05-07 15:56:29 +00:00
|
|
|
getModule: function(item) {
|
|
|
|
var file = item.file.replace(Ox.PATH, '');
|
|
|
|
return file == 'Ox.js' ? 'Ox' : file.split('/')[0];
|
|
|
|
},
|
|
|
|
getSection: function(item) {
|
|
|
|
var file = item.file.replace(Ox.PATH, '');
|
|
|
|
return item.section || file.split('/')[2];
|
|
|
|
},
|
|
|
|
path: Ox.PATH
|
|
|
|
})
|
|
|
|
.appendTo(Ox.UI.$body);
|
|
|
|
});
|