fix(util) replaceStr: isStr -> isString

This commit is contained in:
coderaiser 2014-05-12 08:04:15 -04:00
parent 0c84ddc50c
commit 37f0b3106a

View file

@ -494,7 +494,7 @@
* @param notEscape
*/
this.replaceStr = function(str, from, to, notEscape) {
var isStr = Util.isStr(str),
var isStr = Util.isString(str),
regExp = new RegExp(from, 'g');
if (isStr && from) {