Test Push
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -6,5 +6,4 @@
|
|||||||
/tables/*
|
/tables/*
|
||||||
/Properties/
|
/Properties/
|
||||||
/.idea/
|
/.idea/
|
||||||
/wwwroot/scripts/js/*.js
|
/wwwroot/scripts/js/*
|
||||||
/wwwroot/scripts/js/*.map
|
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
type KeyboardRowName = `row${number}${"" | "_"}${string}`;
|
type KeyboardRowName = `row${number}${"" | "_"}${string}`;
|
||||||
|
type KeyboardRow = Partial<Record<KeyboardRowName, string[]>>
|
||||||
interface VirtualKeyboard {
|
interface VirtualKeyboard {
|
||||||
[layoutName: string]: Partial<Record<KeyboardRowName, string[]>>;
|
[layoutName: string]: KeyboardRow;
|
||||||
}
|
}
|
||||||
|
|
||||||
let showVirtualNumpad = (heading: string, maxlength = 4, isPassword: boolean, allowDecimals = true, allowClose = true, submitFunction: Function) => {
|
let showVirtualNumpad = (heading: string, maxlength = 4, isPassword: boolean, allowDecimals = true, allowClose = true, submitFunction: Function) => {
|
||||||
@@ -222,7 +223,9 @@ let showVirtualNumpad = (heading: string, maxlength = 4, isPassword: boolean, al
|
|||||||
and translators making their own language packs
|
and translators making their own language packs
|
||||||
*/
|
*/
|
||||||
index = index + 1;
|
index = index + 1;
|
||||||
let currentRow = layoutToLoad[`row${index}${modifier}`]
|
|
||||||
|
// @ts-ignore
|
||||||
|
let currentRow : string[] = layoutToLoad[`row${index}${modifier}`]
|
||||||
|
|
||||||
$(row).children('a').each((keyIndex, button) => {
|
$(row).children('a').each((keyIndex, button) => {
|
||||||
let key = $(button);
|
let key = $(button);
|
||||||
|
|||||||
Reference in New Issue
Block a user