var /**/name /**/ = /**/func /**/;
Opened this issue · 0 comments
Johnny159 commented
var script = this._worker[type]
.toString()
.replace(/^.*?[\n\r]+/gi, '')
.replace(/\}[\s]*$/, '')
.replace(/\/\*\*\/name\/\*\*\//gi, name)
.replace(/\/\*\*\/func\/\*\*\//gi, fnStr);
Can not replace the name and fnStr ?