merging changes

This commit is contained in:
rolux 2011-05-11 15:55:15 +02:00
commit e9669315de

View file

@ -3,23 +3,24 @@ Ox.load('UI', {
theme: 'classic'
}, function() {
Ox.Theme('classic');
Ox.DocPanel({
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'
],
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);
});
$.getJSON(Ox.UI.PATH + 'json/Ox.UI.json', function(files) {
Ox.DocPanel({
files: Ox.merge([
'Ox.js',
'Ox.Geo/Ox.Geo.js',
], files.filter(function(file) {
return Ox.endsWith(file, '.js');
})),
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);
});
});