remove unused function in Ox.load

This commit is contained in:
rolux 2013-05-09 20:12:32 +02:00
parent 1e056171e6
commit 8aef1fb7c0

View file

@ -35,11 +35,6 @@ Ox.load = function() {
var callback = arguments[arguments.length - 1], var callback = arguments[arguments.length - 1],
length, loaded = 0, localeFiles = [], modules = {}, succeeded = 0, length, loaded = 0, localeFiles = [], modules = {}, succeeded = 0,
type = Ox.typeOf(arguments[0]); type = Ox.typeOf(arguments[0]);
function done(success) {
Ox.documentReady(function() {
callback(success);
});
}
if (type == 'string') { if (type == 'string') {
modules = Ox.extend( modules = Ox.extend(
{}, arguments[0], Ox.isObject(arguments[1]) ? arguments[1] : {} {}, arguments[0], Ox.isObject(arguments[1]) ? arguments[1] : {}