mirror of https://github.com/gorhill/uBlock.git
Fix comment
This commit is contained in:
parent
569465b393
commit
cb9a91d43c
|
@ -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 +
|
||||||
|
|
Loading…
Reference in New Issue