forked from 0x2620/oxjs
fix Ox.App in Firefox 3.6 to show loading screen, fixes #393
This commit is contained in:
parent
1a6da64b6b
commit
f919d64044
3 changed files with 9 additions and 6 deletions
|
|
@ -47,7 +47,8 @@ Ox.API = function(options, callback) {
|
|||
Ox.forEach(result.data.actions, function(val, key) {
|
||||
that[key] = function(/*data, age, callback*/) {
|
||||
var data = {}, age = -1, callback = null;
|
||||
Ox.forEach(arguments, function(argument) {
|
||||
//Ox.makeArray required for Firefox 3.6 because Ox.isArguments fails
|
||||
Ox.forEach(Ox.makeArray(arguments), function(argument) {
|
||||
if (Ox.isObject(argument)) {
|
||||
data = argument;
|
||||
} else if (Ox.isNumber(argument)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue