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) {
|
Ox.forEach(result.data.actions, function(val, key) {
|
||||||
that[key] = function(/*data, age, callback*/) {
|
that[key] = function(/*data, age, callback*/) {
|
||||||
var data = {}, age = -1, callback = null;
|
var data = {}, age = -1, callback = null;
|
||||||
//Ox.makeArray required for Firefox 3.6 because Ox.isArguments fails
|
Ox.forEach(arguments, function(argument) {
|
||||||
Ox.forEach(Ox.makeArray(arguments), function(argument) {
|
|
||||||
if (Ox.isObject(argument)) {
|
if (Ox.isObject(argument)) {
|
||||||
data = argument;
|
data = argument;
|
||||||
} else if (Ox.isNumber(argument)) {
|
} else if (Ox.isNumber(argument)) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue