forked from 0x2620/pandora
Ox.loadFile can load multiple files now
This commit is contained in:
parent
7ee6d92242
commit
840ea90feb
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ appPanel
|
||||||
var prefix = '/static/';
|
var prefix = '/static/';
|
||||||
if (localStorage && localStorage['pandora.debug']) {
|
if (localStorage && localStorage['pandora.debug']) {
|
||||||
Ox.getJSON(prefix + 'json/pandora.json?' + Ox.random(1000), function(files) {
|
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;
|
return prefix + file;
|
||||||
}), callback);
|
}), callback);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue