Skip to content

var /**/name /**/ = /**/func /**/; #12

@Johnny159

Description

@Johnny159
	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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions