mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-23 02:42:41 +01: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