mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-24 03:05:41 +00:00
fix(util) replaceStr: isStr -> isString
This commit is contained in:
parent
0c84ddc50c
commit
37f0b3106a
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue