Tweaked comments and blank line, in multiple languages.

This commit is contained in:
Project Nayuki 2018-06-23 16:21:59 +00:00
parent 80797f449e
commit b652d6958e
3 changed files with 3 additions and 2 deletions

View File

@ -85,7 +85,6 @@ function redrawQrCode() {
svgXml.value = qr.toSvgString(border);
}
// Returns a string to describe the given list of segments.
function describeSegments(segs) {
if (segs.length == 0)

View File

@ -584,7 +584,7 @@ var qrcodegen = new function() {
Object.defineProperty(this.QrCode, "MAX_VERSION", {value:MAX_VERSION});
/*---- Private static helper functions QrCode ----*/
/*---- Private static helper functions for QrCode ----*/
var QrCode = {}; // Private object to assign properties to. Not the same object as 'this.QrCode'.

View File

@ -189,6 +189,8 @@ impl QrCode {
}
/*---- Public methods ----*/
// Returns this QR Code's version, in the range [1, 40].
pub fn version(&self) -> Version {
self.version