From 2c7e1292d6c80be55a20cf34121b841795b6ee5d Mon Sep 17 00:00:00 2001 From: Luke Slater Date: Wed, 20 Jun 2012 08:27:32 +0100 Subject: [PATCH] remove withAll --- snippets.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snippets.js b/snippets.js index 762a0bb..bbfe3d2 100644 --- a/snippets.js +++ b/snippets.js @@ -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;