chore(util) rm " "

This commit is contained in:
coderaiser 2014-08-18 09:56:00 -04:00
parent 9c0991e450
commit 7d5a0cf559

View file

@ -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');
};