Ox.loadFile can load multiple files now

This commit is contained in:
j 2012-05-23 01:20:12 +02:00
parent 7ee6d92242
commit 840ea90feb

View file

@ -177,7 +177,7 @@ appPanel
var prefix = '/static/';
if (localStorage && localStorage['pandora.debug']) {
Ox.getJSON(prefix + 'json/pandora.json?' + Ox.random(1000), function(files) {
Ox.loadFiles(files.map(function(file) {
Ox.loadFile(files.map(function(file) {
return prefix + file;
}), callback);
});