Tweaked comments and blank line, in multiple languages.

pull/35/merge
Project Nayuki 7 years ago
parent 80797f449e
commit b652d6958e

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

@ -584,7 +584,7 @@ var qrcodegen = new function() {
Object.defineProperty(this.QrCode, "MAX_VERSION", {value:MAX_VERSION}); 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'. var QrCode = {}; // Private object to assign properties to. Not the same object as 'this.QrCode'.

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

Loading…
Cancel
Save