feature(util) rm convertName

This commit is contained in:
coderaiser 2014-10-30 03:29:00 -04:00
parent 53603b4971
commit 08e86475f4

View file

@ -312,21 +312,6 @@
return str;
};
/**
* function convert name: rm: '(, ), -, " "'
*
* @name
* convert
*/
this.convertName = function(name) {
var conv = name && name.toLowerCase();
conv = Util.rmStr(conv, ['(', ')']);
conv = Util.replaceStr(conv, ' ', '-');
return conv;
};
this.escapeRegExp = function(str) {
var isStr = Util.type.string(str);