1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-15 07:22:28 +02:00

Fix alternate code path introduced in 295f08da97 (oops)

This commit is contained in:
Raymond Hill 2019-04-28 14:18:09 -04:00
parent 295f08da97
commit c4f9ae706a
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -611,7 +611,7 @@
decode(instr, arrbuf) {
if ( instr.charCodeAt(0) === 0x5B /* '[' */ ) {
const inbuf = Array.isArray(instr);
const inbuf = JSON.parse(instr);
if ( arrbuf instanceof ArrayBuffer === false ) {
return new Uint32Array(inbuf);
}