add Function.js, some updates in OxJS

This commit is contained in:
rolux 2012-01-07 12:50:02 +05:30
commit 1db649bd61
6 changed files with 123 additions and 90 deletions

View file

@ -35,7 +35,7 @@ if (!Array.prototype.forEach) {
fn.call(that, arr[i], i, arr);
}
}
}
};
}
// see https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/indexOf
@ -55,7 +55,7 @@ if (!Array.prototype.indexOf) {
}
}
return ret;
}
};
}
// see https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/map
@ -74,7 +74,7 @@ if (!Array.prototype.map) {
}
}
return ret;
}
};
}
// see https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/reduce
@ -116,5 +116,5 @@ if (!Object.keys) {
}
}
return ret;
}
};
}