#2355 - fix lint issues
This commit is contained in:
parent
7d82619d7f
commit
a92e6de117
@ -43,9 +43,9 @@ class ToBase32 extends Operation {
|
|||||||
if (!input) return "";
|
if (!input) return "";
|
||||||
input = new Uint8Array(input);
|
input = new Uint8Array(input);
|
||||||
|
|
||||||
const alphabet = args[0]
|
const alphabet = args[0] ?
|
||||||
? Utils.expandAlphRange(args[0]).join("")
|
Utils.expandAlphRange(args[0]).join("") :
|
||||||
: "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=";
|
"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=";
|
||||||
|
|
||||||
// Unicode-safe alphabet handling
|
// Unicode-safe alphabet handling
|
||||||
// Supports BMP + non-BMP characters (emoji, Mahjong tiles, etc.)
|
// Supports BMP + non-BMP characters (emoji, Mahjong tiles, etc.)
|
||||||
@ -55,7 +55,6 @@ class ToBase32 extends Operation {
|
|||||||
chr1, chr2, chr3, chr4, chr5,
|
chr1, chr2, chr3, chr4, chr5,
|
||||||
enc1, enc2, enc3, enc4, enc5, enc6, enc7, enc8,
|
enc1, enc2, enc3, enc4, enc5, enc6, enc7, enc8,
|
||||||
i = 0;
|
i = 0;
|
||||||
|
|
||||||
while (i < input.length) {
|
while (i < input.length) {
|
||||||
chr1 = input[i++];
|
chr1 = input[i++];
|
||||||
chr2 = input[i++];
|
chr2 = input[i++];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user