Compare commits

...

5 Commits

Author SHA1 Message Date
Yonggang Wang 4d339023da Fix confusing Chinese term 2021-10-19 16:23:48 +08:00
wixette 2be9be9f61 delete unused console log 2020-03-09 10:31:59 +08:00
wixette 320271b756 hide debug tab and ref tab from the beginning 2020-03-09 00:36:56 +08:00
wixette 4ecc0bd8fc fix Chinese translation 2020-03-09 00:33:31 +08:00
wixette ea6d0b71be compress the images 2020-03-08 22:55:02 +08:00
6 changed files with 15 additions and 8 deletions

View File

@ -214,3 +214,11 @@ footer {
-ms-user-select: none;
-webkit-user-select: none;
}
#tab-debug {
display: none;
}
#tab-ref {
display: none;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 160 KiB

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 105 KiB

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 187 KiB

After

Width:  |  Height:  |  Size: 55 KiB

View File

@ -117,7 +117,7 @@ l10n.MESSAGES = {
'tutorial-2': {
'en': 'Set switches A7-A0 to 00 111 010 (up for 1, down for 0).',
'zh': '将地址开关 A7-A0 依次设置为 00 111 010 (开关朝上为 1开关朝下为 0',
'zh': '将开关 A7-A0 依次设置为 00 111 010 (开关朝上为 1开关朝下为 0',
},
'tutorial-3': {
@ -127,7 +127,7 @@ l10n.MESSAGES = {
'tutorial-4': {
'en': 'Set switches A7-A0 to 10 000 000.',
'zh': '将地址开关 A7-A0 依次设置为 10 000 000',
'zh': '将开关 A7-A0 依次设置为 10 000 000',
},
'tutorial-5': {
@ -142,7 +142,7 @@ l10n.MESSAGES = {
'tutorial-7': {
'en': 'Set switches A7-A0 to 10 000 000.',
'zh': '将地址开关 A7-A0 依次设置为 10 000 000',
'zh': '将开关 A7-A0 依次设置为 10 000 000',
},
'tutorial-8': {
@ -152,7 +152,7 @@ l10n.MESSAGES = {
'tutorial-9': {
'en': 'Set switches A7-A0 to 00 000 001 (the first number to be added, or 1 in decimal).',
'zh': '将地址开关 A7-A0 依次设置为 00 000 001即第一个加数的值也就是十进制的 1',
'zh': '将开关 A7-A0 依次设置为 00 000 001即第一个加数的值也就是十进制的 1',
},
'tutorial-10': {
@ -162,7 +162,7 @@ l10n.MESSAGES = {
'tutorial-11': {
'en': 'Set switches A7-A0 to 00 000 010 (the second number to be added, or 2 in decimal).',
'zh': '将地址开关 A7-A0 依次设置为 00 000 010即第二个加数的值也就是十进制的 2',
'zh': '将开关 A7-A0 依次设置为 00 000 010即第二个加数的值也就是十进制的 2',
},
'tutorial-12': {
@ -187,7 +187,7 @@ l10n.MESSAGES = {
'tutorial-16': {
'en': 'Set switches A7-A0 to 10 000 010 (the address that holds the sum).',
'zh': '将地址开关 A7-A0 依次设置为 10 000 010即存储计算结果的地址',
'zh': '将开关 A7-A0 依次设置为 10 000 010即存储计算结果的地址',
},
'tutorial-17': {
@ -197,7 +197,7 @@ l10n.MESSAGES = {
'tutorial-18': {
'en': 'The LEDs D7-D0 show the result 00 000 011 (3 in decimal).',
'zh': 'LED 显示出计算结果 00 000 011即十进制的 3',
'zh': 'LED 灯 D7-D0 显示出计算结果 00 000 011即十进制的 3',
},
'tutorial-19': {

View File

@ -876,7 +876,6 @@ panel.onToggle = function(id) {
}
panel.addressSwitchStates[bitIndex] = state ? 0 : 1;
} else if (id == 'OFF-ON') {
console.log(panel.isPoweredOn);
if (panel.isPoweredOn) {
panel.onPowerOff();
panel.switchUp(id);