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
1 changed files with 1 additions and 1 deletions

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);
});