From 7d5a0cf559fa11c965de1638efba9a9a29e5e9fa Mon Sep 17 00:00:00 2001 From: coderaiser Date: Mon, 18 Aug 2014 09:56:00 -0400 Subject: [PATCH] chore(util) rm " " --- lib/util.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/lib/util.js b/lib/util.js index c060fe90..cd1f0829 100644 --- a/lib/util.js +++ b/lib/util.js @@ -278,13 +278,13 @@ * * @obj */ - this.extendProto = function(obj) { + this.extendProto = function(obj) { var ret, F = function() {}; F.prototype = Util.extend({}, obj); ret = new F(); return ret; - }; + }; /** * @param pJSON @@ -366,15 +366,15 @@ if (isStr) switch (type) { case 'array': - n = str2.length; + n = str2.length; - for (i = 0; i < n; i++) { - str = str2[i]; - is = Util.isContainStr(str1, str); + for (i = 0; i < n; i++) { + str = str2[i]; + is = Util.isContainStr(str1, str); if (is) break; - } + } break; case 'string': @@ -532,7 +532,7 @@ str = str.replace(regExp, to); } - return str; + return str; }; /** @@ -681,7 +681,7 @@ * functions check is variable is string * @param variable */ - this.isString = function(variable) { + this.isString = function(variable) { return Util.isType(variable, 'string'); }; @@ -689,7 +689,7 @@ * functions check is variable is string * @param variable */ - this.isUndefined = function(variable) { + this.isUndefined = function(variable) { return Util.isType(variable, 'undefined'); };