mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-07 03:12:33 +01:00
Fix alternate code path introduced in 295f08da97
(oops)
This commit is contained in:
parent
295f08da97
commit
c4f9ae706a
@ -611,7 +611,7 @@
|
|||||||
|
|
||||||
decode(instr, arrbuf) {
|
decode(instr, arrbuf) {
|
||||||
if ( instr.charCodeAt(0) === 0x5B /* '[' */ ) {
|
if ( instr.charCodeAt(0) === 0x5B /* '[' */ ) {
|
||||||
const inbuf = Array.isArray(instr);
|
const inbuf = JSON.parse(instr);
|
||||||
if ( arrbuf instanceof ArrayBuffer === false ) {
|
if ( arrbuf instanceof ArrayBuffer === false ) {
|
||||||
return new Uint32Array(inbuf);
|
return new Uint32Array(inbuf);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user