From 47da67a742e0d9292fffe0972c24eb56cbf8b8ff Mon Sep 17 00:00:00 2001 From: Marc Durdin Date: Mon, 10 Oct 2022 11:51:55 +1100 Subject: [PATCH] chore(developer): fixup import --- developer/src/kmc-keyboard/src/compiler/keymanweb-compiler.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/developer/src/kmc-keyboard/src/compiler/keymanweb-compiler.ts b/developer/src/kmc-keyboard/src/compiler/keymanweb-compiler.ts index caf7ebd849..8ccb68993c 100644 --- a/developer/src/kmc-keyboard/src/compiler/keymanweb-compiler.ts +++ b/developer/src/kmc-keyboard/src/compiler/keymanweb-compiler.ts @@ -1,5 +1,5 @@ import { VisualKeyboard, LDMLKeyboard } from "@keymanapp/common-types"; -import { BUILDER_KVK_HEADER_FLAGS } from "@keymanapp/common-types/src/kvk/kvk-file"; + import * as path from 'path'; import VisualKeyboardCompiler from "./visual-keyboard-compiler.js"; @@ -27,7 +27,7 @@ export class KeymanWebCompiler { let result = `{F: '${vk.header.unicodeFont.size}pt ${JSON.stringify(vk.header.unicodeFont.name)}', `+ - `K102: ${vk.header.flags & BUILDER_KVK_HEADER_FLAGS.kvkh102 ? 1 : 0}};${nl}` + // TODO-LDML: escape ' and " in font name correctly + `K102: ${vk.header.flags & VisualKeyboard.VisualKeyboardHeaderFlags.kvkh102 ? 1 : 0}};${nl}` + // TODO-LDML: escape ' and " in font name correctly `${tab}this.KV.KLS={${nl}` + `${tab}${tab}TODO_LDML: ${vk.keys.length}${nl}` + // TODO-LDML: fill in KLS