mirror of
https://github.com/reality/dbot.git
synced 2024-12-24 03:33:07 +01:00
remove withAll
This commit is contained in:
parent
33501c44ea
commit
2c7e1292d6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user