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) {
|
loadJSON(function(data) {
|
||||||
loadScriptsSerial(data.files, function() {
|
loadScriptsSerial(data.files, function() {
|
||||||
Ox.VERSION = data.version;
|
Ox.VERSION = data.version;
|
||||||
if (args.length == 1) {
|
Ox.load.apply(null, args);
|
||||||
callback()
|
|
||||||
} else {
|
|
||||||
Ox.load.apply(null, args);
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue