remove unused function in Ox.load
This commit is contained in:
parent
1e056171e6
commit
8aef1fb7c0
1 changed files with 0 additions and 5 deletions
|
@ -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] : {}
|
||||||
|
|
Loading…
Reference in a new issue