mirror of
https://github.com/status-im/QR-Code-generator.git
synced 2026-08-31 01:31:10 +00:00
Updated comments in drawFunctionPatterns() of all other language versions to synchronize with C code.
This commit is contained in:
@@ -234,7 +234,7 @@ var qrcodegen = new function() {
|
||||
/*---- Private helper methods for constructor: Drawing function modules ----*/
|
||||
|
||||
function drawFunctionPatterns() {
|
||||
// Draw the horizontal and vertical timing patterns
|
||||
// Draw horizontal and vertical timing patterns
|
||||
for (var i = 0; i < size; i++) {
|
||||
setFunctionModule(6, i, i % 2 == 0);
|
||||
setFunctionModule(i, 6, i % 2 == 0);
|
||||
@@ -245,7 +245,7 @@ var qrcodegen = new function() {
|
||||
drawFinderPattern(size - 4, 3);
|
||||
drawFinderPattern(3, size - 4);
|
||||
|
||||
// Draw the numerous alignment patterns
|
||||
// Draw numerous alignment patterns
|
||||
var alignPatPos = QrCode.getAlignmentPatternPositions(version);
|
||||
var numAlign = alignPatPos.length;
|
||||
for (var i = 0; i < numAlign; i++) {
|
||||
|
||||
Reference in New Issue
Block a user