From 7b12048abe6a3f22306ae16992021d36fdad3606 Mon Sep 17 00:00:00 2001 From: Kazuhiko Arase Date: Mon, 24 Jul 2017 18:06:15 +0900 Subject: [PATCH] Update of version and description about type number auto detection feature. --- js/README.md | 16 ++++++++-------- js/package.json | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/js/README.md b/js/README.md index 55a595a..1c43c2f 100644 --- a/js/README.md +++ b/js/README.md @@ -28,10 +28,10 @@ document.getElementById('placeHolder').innerHTML = qr.createImgTag(); #### qrcode(typeNumber, errorCorrectionLevel) => QRCode Create a QRCode Object. -| Param | Type | Description | -| ---------------------| ------------------- | ------------------------------------------- | -| typeNumber | number | Type number (1 ~ 40) | -| errorCorrectionLevel | string | Error correction level ('L', 'M', 'Q', 'H') | +| Param | Type | Description | +| ---------------------| ------------------- | ---------------------------------------------- | +| typeNumber | number | Type number (1 ~ 40), or 0 for auto detection. | +| errorCorrectionLevel | string | Error correction level ('L', 'M', 'Q', 'H') | #### qrcode.stringToBytes(s) : number[] Encodes a string into an array of number(byte) using any charset. @@ -39,7 +39,7 @@ This function is used by internal. Overwrite this function to encode using a multibyte charset. | Param | Type | Description | -| -------| ------------------- | ---------------- | +| ------ | ------------------- | ---------------- | | s | string | string to encode | ### QRCode @@ -48,7 +48,7 @@ Overwrite this function to encode using a multibyte charset. Add a data to encode. | Param | Type | Description | -| -------| ------------------- | ---------------------------------------------------------- | +| ------ | ------------------- | ---------------------------------------------------------- | | data | string | string to encode | | mode | string | Mode ('Numeric', 'Alphanumeric', 'Byte'(default), 'Kanji') | @@ -64,7 +64,7 @@ The module at row and col is dark or not. _[Note] call make() before this function._ | Param | Type | Description | -| ------| ------------------- | ------------------- | +| ----- | ------------------- | ------------------- | | row | number | 0 ~ moduleCount - 1 | | col | number | 0 ~ moduleCount - 1 | @@ -75,7 +75,7 @@ Helper functions for HTML. _[Note] call make() before these functions._ | Param | Type | Description | -| ---------| ------------------- | --------------------- | +| -------- | ------------------- | --------------------- | | cellSize | number | default: 2 | | margin | number | default: cellSize * 4 | diff --git a/js/package.json b/js/package.json index b66a6b9..8e1221a 100644 --- a/js/package.json +++ b/js/package.json @@ -1,6 +1,6 @@ { "name": "qrcode-generator", - "version": "1.3.0", + "version": "1.3.1", "description": "QR Code Generator implementation in JavaScript.", "author": "Kazuhiko Arase", "main": "qrcode.js",