mirror of
https://github.com/Merricx/qrazybox.git
synced 2025-03-14 08:29:03 +01:00
change version_information_table to string
quoted all 0 & 1
This commit is contained in:
parent
18f0d94443
commit
65d210f345
1 changed files with 34 additions and 35 deletions
69
js/table.js
69
js/table.js
|
@ -264,44 +264,43 @@ var format_information_unmask = [
|
||||||
/* https://www.thonky.com/qr-code-tutorial/format-version-tables */
|
/* https://www.thonky.com/qr-code-tutorial/format-version-tables */
|
||||||
//Version information table for QR version 7 and higher
|
//Version information table for QR version 7 and higher
|
||||||
var version_information_table = [
|
var version_information_table = [
|
||||||
000111110010010100, //7
|
"000111110010010100", //7
|
||||||
001000010110111100, //8
|
"001000010110111100", //8
|
||||||
001001101010011001, //9
|
"001001101010011001", //9
|
||||||
001010010011010011, //10
|
"001010010011010011", //10
|
||||||
001011101111110110, //11
|
"001011101111110110", //11
|
||||||
001100011101100010, //12
|
"001100011101100010", //12
|
||||||
001101100001000111, //13
|
"001101100001000111", //13
|
||||||
001110011000001101, //14
|
"001110011000001101", //14
|
||||||
001111100100101000, //15
|
"001111100100101000", //15
|
||||||
010000101101111000, //16
|
"010000101101111000", //16
|
||||||
010001010001011101, //17
|
"010001010001011101", //17
|
||||||
010010101000010111, //18
|
"010010101000010111", //18
|
||||||
010011010100110010, //19
|
"010011010100110010", //19
|
||||||
010100100110100110, //20
|
"010100100110100110", //20
|
||||||
010101011010000011, //21
|
"010101011010000011", //21
|
||||||
010110100011001001, //22
|
"010110100011001001", //22
|
||||||
010111011111101100, //23
|
"010111011111101100", //23
|
||||||
011000111011000100, //24
|
"011000111011000100", //24
|
||||||
011001000111100001, //25
|
"011001000111100001", //25
|
||||||
011010111110101011, //26
|
"011010111110101011", //26
|
||||||
011011000010001110, //27
|
"011011000010001110", //27
|
||||||
011100110000011010, //28
|
"011100110000011010", //28
|
||||||
011101001100111111, //29
|
"011101001100111111", //29
|
||||||
011110110101110101, //30
|
"011110110101110101", //30
|
||||||
011111001001010000, //31
|
"011111001001010000", //31
|
||||||
100000100111010101, //32
|
"100000100111010101", //32
|
||||||
100001011011110000, //33
|
"100001011011110000", //33
|
||||||
100010100010111010, //34
|
"100010100010111010", //34
|
||||||
100011011110011111, //35
|
"100011011110011111", //35
|
||||||
100100101100001011, //36
|
"100100101100001011", //36
|
||||||
100101010000101110, //37
|
"100101010000101110", //37
|
||||||
100110101001100100, //38
|
"100110101001100100", //38
|
||||||
100111010101000001, //39
|
"100111010101000001", //39
|
||||||
101000110001101001 //40
|
"101000110001101001" //40
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* https://www.thonky.com/qr-code-tutorial/format-version-information */
|
/* https://www.thonky.com/qr-code-tutorial/format-version-information */
|
||||||
// L = 1
|
// L = 1
|
||||||
// M = 0
|
// M = 0
|
||||||
|
|
Loading…
Add table
Reference in a new issue