add_exports.patch (613B)
1 diff --git a/qrcode.mjs b/qrcode.mjs 2 index 444522524987..4f4174684310 100644 3 --- a/qrcode.mjs 4 +++ b/qrcode.mjs 5 @@ -826,7 +826,7 @@ const QRMode = { 6 // QRErrorCorrectionLevel 7 //--------------------------------------------------------------------- 8 9 -const QRErrorCorrectionLevel = { 10 +export const QRErrorCorrectionLevel = { 11 L : 1, 12 M : 0, 13 Q : 3, 14 @@ -1242,7 +1242,7 @@ const qrPolynomial = function(num, shift) { 15 // QRRSBlock 16 //--------------------------------------------------------------------- 17 18 -const QRRSBlock = function() { 19 +export const QRRSBlock = function() { 20 21 const RS_BLOCK_TABLE = [