mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-21 15:17:40 +00:00
change(web): better DOM-default-output namespace use
This commit is contained in:
parent
7c81862c2d
commit
5d788c5c84
1 changed files with 7 additions and 1 deletions
|
|
@ -1,4 +1,10 @@
|
|||
namespace com.keyman.text {
|
||||
namespace com.keyman.dom {
|
||||
// Basically, these are shorthand imports, only viewable within this file.
|
||||
let DefaultOutput = text.DefaultOutput;
|
||||
let Codes = text.Codes;
|
||||
type KeyEvent = text.KeyEvent;
|
||||
|
||||
// Now for some classic JS method "extension".
|
||||
let coreIsCommand = DefaultOutput.isCommand;
|
||||
let coreApplyCommand = DefaultOutput.applyCommand;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue