mirror of
https://github.com/status-im/QR-Code-generator.git
synced 2026-08-31 01:31:10 +00:00
Tweaked comment and blank line in QrCode constructor in some languages.
This commit is contained in:
@@ -95,7 +95,7 @@ var qrcodegen = new function() {
|
||||
var allCodewords = addEccAndInterleave(dataCodewords);
|
||||
drawCodewords(allCodewords);
|
||||
|
||||
// Handle masking
|
||||
// Do masking
|
||||
if (mask == -1) { // Automatically choose best mask
|
||||
var minPenalty = Infinity;
|
||||
for (var i = 0; i < 8; i++) {
|
||||
@@ -113,6 +113,7 @@ var qrcodegen = new function() {
|
||||
throw "Assertion error";
|
||||
drawFormatBits(mask); // Overwrite old format bits
|
||||
applyMask(mask); // Apply the final choice of mask
|
||||
|
||||
isFunction = null;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user