3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-24 11:42:36 +01:00

remove withAll

This commit is contained in:
Luke Slater 2012-06-20 08:27:32 +01:00
parent 33501c44ea
commit 2c7e1292d6

View File

@ -164,13 +164,13 @@ Object.prototype.isArray = function(obj) {
return Object.prototype.toString.call(obj) === '[object Array]';
};
Object.prototype.withAll = function(fun) {
/*Object.prototype.withAll = function(fun) {
for(key in this) {
if(this.hasOwnProperty(key)){
fun(key, this[key]);
}
}
};
};*/
Object.prototype.length = function() {
var l = 0;