remove special case for FF3.6, Ox.isArguments is fixed
This commit is contained in:
parent
4f5a2e8072
commit
23c319d95a
1 changed files with 1 additions and 2 deletions
|
@ -47,8 +47,7 @@ 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.makeArray required for Firefox 3.6 because Ox.isArguments fails
|
||||
Ox.forEach(Ox.makeArray(arguments), function(argument) {
|
||||
Ox.forEach(arguments, function(argument) {
|
||||
if (Ox.isObject(argument)) {
|
||||
data = argument;
|
||||
} else if (Ox.isNumber(argument)) {
|
||||
|
|
Loading…
Reference in a new issue