From 47691d4002e7db9cb8a6f921ed3711c3254c00db Mon Sep 17 00:00:00 2001 From: coderaiser Date: Fri, 23 May 2014 05:52:47 -0400 Subject: [PATCH] feature(util) rm tryCatch{Debug, Call} --- lib/util.js | 32 -------------------------------- 1 file changed, 32 deletions(-) diff --git a/lib/util.js b/lib/util.js index db1e404f..26b6472b 100644 --- a/lib/util.js +++ b/lib/util.js @@ -686,21 +686,6 @@ return ret; }; - /** - * function execute param function in - * try...catch block and log result - * - * @param pTryFunc - */ - this.tryCatchDebug = function(pTryFunc) { - var ret = Util.tryCatch(pTryFunc); - - if (ret) - Util.debug(); - - return ret; - }; - /** * function execute param function in * try...catch block and log result @@ -715,23 +700,6 @@ return Util.logError(ret); }; - /** - * function execute param function in - * try...catch block and log result - * - * @param pCallBack - */ - this.tryCatchCall = function(pTryFunc, pCallBack) { - var ret; - - ret = Util.tryCatch(pTryFunc); - - if (ret) - Util.exec(pCallBack, ret); - - return ret; - }; - /** * function do save exec of function * @param pCallBack