From 994d7af9ede1f0003757ba6e2b69df03609e2298 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Wed, 12 Feb 2014 03:03:21 -0500 Subject: [PATCH] feature(util) rm setValue --- lib/util.js | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/lib/util.js b/lib/util.js index 30394f9b..553db0b4 100644 --- a/lib/util.js +++ b/lib/util.js @@ -750,27 +750,6 @@ }; }; - /** - * set value to property of object, if object exist - * @param pArgs {object, property, value} - */ - this.setValue = function(pArgs) { - var lRet = false; - - if ( Util.isObject(pArgs) ) { - var lObj = pArgs.object, - lProp = pArgs.property, - lVal = pArgs.lVal; - - if (lObj) { - lObj[lProp] = lVal; - lRet = true; - } - } - - return lRet; - }; - /** * set timout before callback would be called * @param pArgs {func, callback, time}