From 5e68ebfde1da586f1511430a5a6551ef16fdadff Mon Sep 17 00:00:00 2001 From: rolux Date: Fri, 22 Jun 2012 15:04:21 +0200 Subject: [PATCH] in Ox.js loader, always call Ox.load - also if no arguments precede the callback --- source/Ox.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/source/Ox.js b/source/Ox.js index 41e59067..9c4b6186 100644 --- a/source/Ox.js +++ b/source/Ox.js @@ -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); - } + Ox.load.apply(null, args); }); });