mirror of
https://github.com/status-im/QR-Code-generator.git
synced 2026-08-31 01:31:10 +00:00
Tweaked two comments in QrCode constructor, in all languages except C.
This commit is contained in:
@@ -83,14 +83,14 @@ var qrcodegen = new function() {
|
||||
var row = [];
|
||||
for (var i = 0; i < size; i++)
|
||||
row.push(false);
|
||||
var modules = [];
|
||||
var modules = []; // Initially all white
|
||||
var isFunction = [];
|
||||
for (var i = 0; i < size; i++) {
|
||||
modules .push(row.slice());
|
||||
isFunction.push(row.slice());
|
||||
}
|
||||
|
||||
// Handle grid fields, draw function patterns, draw all codewords
|
||||
// Compute ECC, draw modules
|
||||
drawFunctionPatterns();
|
||||
var allCodewords = addEccAndInterleave(dataCodewords);
|
||||
drawCodewords(allCodewords);
|
||||
|
||||
Reference in New Issue
Block a user