Skip to content

Commit 7b12048

Browse files
committed
Update of version and description about type number auto detection
feature.
1 parent 55998be commit 7b12048

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

js/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,18 @@ document.getElementById('placeHolder').innerHTML = qr.createImgTag();
2828
#### qrcode(typeNumber, errorCorrectionLevel) => <code>QRCode</code>
2929
Create a QRCode Object.
3030

31-
| Param | Type | Description |
32-
| ---------------------| ------------------- | ------------------------------------------- |
33-
| typeNumber | <code>number</code> | Type number (1 ~ 40) |
34-
| errorCorrectionLevel | <code>string</code> | Error correction level ('L', 'M', 'Q', 'H') |
31+
| Param | Type | Description |
32+
| ---------------------| ------------------- | ---------------------------------------------- |
33+
| typeNumber | <code>number</code> | Type number (1 ~ 40), or 0 for auto detection. |
34+
| errorCorrectionLevel | <code>string</code> | Error correction level ('L', 'M', 'Q', 'H') |
3535

3636
#### qrcode.stringToBytes(s) : <code>number[]</code>
3737
Encodes a string into an array of number(byte) using any charset.
3838
This function is used by internal.
3939
Overwrite this function to encode using a multibyte charset.
4040

4141
| Param | Type | Description |
42-
| -------| ------------------- | ---------------- |
42+
| ------ | ------------------- | ---------------- |
4343
| s | <code>string</code> | string to encode |
4444

4545
### QRCode
@@ -48,7 +48,7 @@ Overwrite this function to encode using a multibyte charset.
4848
Add a data to encode.
4949

5050
| Param | Type | Description |
51-
| -------| ------------------- | ---------------------------------------------------------- |
51+
| ------ | ------------------- | ---------------------------------------------------------- |
5252
| data | <code>string</code> | string to encode |
5353
| mode | <code>string</code> | Mode ('Numeric', 'Alphanumeric', 'Byte'(default), 'Kanji') |
5454

@@ -64,7 +64,7 @@ The module at row and col is dark or not.
6464
_[Note] call make() before this function._
6565

6666
| Param | Type | Description |
67-
| ------| ------------------- | ------------------- |
67+
| ----- | ------------------- | ------------------- |
6868
| row | <code>number</code> | 0 ~ moduleCount - 1 |
6969
| col | <code>number</code> | 0 ~ moduleCount - 1 |
7070

@@ -75,7 +75,7 @@ Helper functions for HTML.
7575
_[Note] call make() before these functions._
7676

7777
| Param | Type | Description |
78-
| ---------| ------------------- | --------------------- |
78+
| -------- | ------------------- | --------------------- |
7979
| cellSize | <code>number</code> | default: 2 |
8080
| margin | <code>number</code> | default: cellSize * 4 |
8181

js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "qrcode-generator",
3-
"version": "1.3.0",
3+
"version": "1.3.1",
44
"description": "QR Code Generator implementation in JavaScript.",
55
"author": "Kazuhiko Arase",
66
"main": "qrcode.js",

0 commit comments

Comments
 (0)