remove special case for FF3.6, Ox.isArguments is fixed

This commit is contained in:
j 2012-02-17 10:32:32 +00:00
parent 4f5a2e8072
commit 23c319d95a

View file

@ -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)) {