MCPcopy Create free account
hub / github.com/MankaiHuang/screen-visualization / replaceStr

Function replaceStr

public/iframe/lib/js/commonFun.js:706–708  ·  view source on GitHub ↗
(str, replaceStr, newStr)

Source from the content-addressed store, hash-verified

704 return strArr.join('');
705 },
706 replaceStr(str, replaceStr, newStr) {
707 return str.replace(replaceStr, newStr)
708 },
709 addWaterMask(id, str, $element) {
710 // 增加水印
711

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected