in Ox.js loader, always call Ox.load - also if no arguments precede the callback
This commit is contained in:
parent
f15d6cad0f
commit
5e68ebfde1
1 changed files with 1 additions and 5 deletions
|
@ -14,11 +14,7 @@
|
|||
loadJSON(function(data) {
|
||||
loadScriptsSerial(data.files, function() {
|
||||
Ox.VERSION = data.version;
|
||||
if (args.length == 1) {
|
||||
callback()
|
||||
} else {
|
||||
Ox.load.apply(null, args);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue