diff --git a/lib/util.js b/lib/util.js index 057ec8fa..a2210a4c 100644 --- a/lib/util.js +++ b/lib/util.js @@ -64,7 +64,7 @@ function checkProto() { /** * Check is all arguments with names present - * + * * @param name * @param arg * @param type @@ -99,10 +99,10 @@ }; check.check = check; - + /** * Check is type of arg with name is equal to type - * + * * @param name * @param arg * @param type @@ -121,7 +121,7 @@ /** * Copy properties from from to to - * + * * @param from * @param to */ @@ -141,13 +141,13 @@ /** * copy objFrom properties to target - * + * * @target * @objFrom */ this.extend = function(target, objFrom) { var obj, - keys, + keys, proto, isFunc = Util.type.function(objFrom), isArray = Util.type.array(objFrom), @@ -156,7 +156,7 @@ if (isArray) objFrom.forEach(function(item) { - ret = Util.extend(target, item); + ret = Util.extend(target, item); }); @@ -179,7 +179,7 @@ /** * extend proto - * + * * @obj */ this.extendProto = function(obj) { @@ -195,7 +195,7 @@ function JsonProto() { /** * @param str - */ + */ this.parse = function(str) { var obj; @@ -279,7 +279,7 @@ function TypeProto() { /** * get type of variable - * + * * @param variable */ function type(variable) { @@ -293,7 +293,7 @@ /** * functions check is variable is type of name - * + * * @param variable */ function typeOf(name, variable) { @@ -385,7 +385,7 @@ /** * exec function if it exist in object - * + * * @param obj * @param name * @param arg @@ -485,7 +485,7 @@ /** * function execute param function in * try...catch block - * + * * @param callback */ exec.try = function(callback) { @@ -504,6 +504,7 @@ /** * function gets file extension + * * @param pFileName * @return Ext */ @@ -524,7 +525,7 @@ /** * get values from Object Array name properties - * or + * or * @pObj */ this.getNamesFromObjArray = function(arr) { @@ -542,7 +543,7 @@ /** * find object by name in arrray - * + * * @param array * @param name */ @@ -577,7 +578,7 @@ return ret; }; - /** + /** * Gets current time in format hh:mm:ss */ this.getTime = function() {