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",