spiegel-keyman/common/web/keyboard-processor/tests/temp-bundle-test.js
2023-01-20 13:19:42 +07:00

16 lines
No EOL
534 B
JavaScript

/**
* A temporary file to validate that the bundled version really is bundled and is usable in a
* similar manner to its old format.
*/
// Loads `com` into the global namespace.
import * as _ from '../build/bundled/index.js';
console.log(`Int code for ALT: ${com.keyman.text.Codes.modifierCodes['ALT']}`);
console.log(new com.keyman.keyboards.Keyboard(null));
console.log();
// make sure we bundled `utils` as well!
console.log(`Verifying proper handling of version 16.0: ${new com.keyman.utils.Version([16, 0]).toString()}`);