Fix comment

This commit is contained in:
Raymond Hill 2023-06-01 08:56:42 -04:00
parent 569465b393
commit cb9a91d43c
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ const isolatedWorldInjector = (( ) => {
// Manually substitute noop function with scriptlet wrapper // Manually substitute noop function with scriptlet wrapper
// function, so as to not suffer instances of special // function, so as to not suffer instances of special
// replacement characters `$`,`\` when using String.replace() // replacement characters `$`,`\` when using String.replace()
// with in scriptlet code. // with scriptlet code.
const match = /function\(\)\{\}/.exec(code); const match = /function\(\)\{\}/.exec(code);
return code.slice(0, match.index) + return code.slice(0, match.index) +
scriptlets + scriptlets +