From fe2c384e97d27f43b186829407a082f8ee8e0b72 Mon Sep 17 00:00:00 2001 From: Project Nayuki Date: Fri, 5 Oct 2018 21:20:09 +0000 Subject: [PATCH] Moved and tweaked a comment in TypeScript code. --- typescript/qrcodegen.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/typescript/qrcodegen.ts b/typescript/qrcodegen.ts index f326ecb..c8148fd 100644 --- a/typescript/qrcodegen.ts +++ b/typescript/qrcodegen.ts @@ -48,10 +48,6 @@ namespace qrcodegen { * segment headers and final padding, excluding error correction codewords), * supply the appropriate version number, and call the QrCode() constructor. * (Note that all ways require supplying the desired error correction level.) - * - * This constructor creates a new QR Code with the given version number, error correction level, binary data array, - * and mask number. mask = -1 is for automatic choice, or 0 to 7 for fixed choice. This is a cumbersome low-level constructor - * that should not be invoked directly by the user. To go one level up, see the QrCode.encodeSegments() function. */ export class QrCode { @@ -157,6 +153,9 @@ namespace qrcodegen { /*-- Constructor (low level) and fields --*/ + // Creates a new QR Code with the given version number, error correction level, binary data array, + // and mask number. mask = -1 is for automatic choice, or 0 to 7 for fixed choice. This is a cumbersome low-level constructor + // that should not be invoked directly by the user. To go one level up, see the QrCode.encodeSegments() function. public constructor( // The version number of this QR Code, which is between 1 and 40 (inclusive). // This determines the size of this barcode.