From 0717607a07d8ec815d8792773e073252475a366f Mon Sep 17 00:00:00 2001 From: coderaiser Date: Tue, 8 Apr 2014 02:58:46 -0400 Subject: [PATCH] chore(util) execIfExist: rm bind --- lib/util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util.js b/lib/util.js index ded9b4a2..8ee1a27d 100644 --- a/lib/util.js +++ b/lib/util.js @@ -838,7 +838,7 @@ * @pArg */ this.execIfExist = function(pObj, pName, pArg) { - var ret, bind, + var ret, func = pObj && pObj[pName]; if (func) {