mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
parent
7daa45e49f
commit
2ccb01973e
1 changed files with 0 additions and 1 deletions
|
|
@ -61,7 +61,6 @@ export function validateConstantFn(trusted, raw, extraArgs = {}) {
|
||||||
} else if ( raw.startsWith('{') && raw.endsWith('}') ) {
|
} else if ( raw.startsWith('{') && raw.endsWith('}') ) {
|
||||||
try { value = safe.JSON_parse(raw).value; } catch(ex) { return; }
|
try { value = safe.JSON_parse(raw).value; } catch(ex) { return; }
|
||||||
}
|
}
|
||||||
return raw;
|
|
||||||
} else {
|
} else {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue