mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-03 17:49:39 +02:00
Minor fix
This commit is contained in:
parent
36346117ae
commit
2a3a796d33
@ -1050,7 +1050,7 @@ function evaldataPrune(
|
|||||||
self.eval = new Proxy(self.eval, {
|
self.eval = new Proxy(self.eval, {
|
||||||
apply(target, thisArg, args) {
|
apply(target, thisArg, args) {
|
||||||
let dataToEval = `${args[0]}`;
|
let dataToEval = `${args[0]}`;
|
||||||
const match = /^\s*\(\s*(\{.+\})\s*\)\s*$/.exec(dataToEval);
|
const match = /^\s*\(\s*(\{.+\})\s*\)\s*$/s.exec(dataToEval);
|
||||||
if ( match !== null ) {
|
if ( match !== null ) {
|
||||||
dataToEval = match[1];
|
dataToEval = match[1];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user