From 1f4caf6bf293efce6ccb9e7424d4d098a8ed334e Mon Sep 17 00:00:00 2001 From: coderaiser Date: Wed, 21 May 2014 06:44:11 -0400 Subject: [PATCH] feature(util) rm execOnMatch --- lib/util.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/lib/util.js b/lib/util.js index e88e8448..bf0dc981 100644 --- a/lib/util.js +++ b/lib/util.js @@ -818,19 +818,6 @@ return ret; }; - this.execOnMatch = function(exp, funcsObj) { - var name, func, match; - - if (funcsObj) - for (name in funcsObj) { - match = name.match(new RegExp(exp)); - func = funcsObj[name]; - - if (match) - Util.exec(func, match); - } - }; - /** * exec function if it exist in object * @pArg