Tweaked comment and blank line in QrCode constructor in some languages.

This commit is contained in:
Project Nayuki
2018-10-05 01:44:06 +00:00
parent 0a0ac19f9b
commit f63f7f79a6
3 changed files with 6 additions and 3 deletions
+2 -1
View File
@@ -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;