change(web): better DOM-default-output namespace use

This commit is contained in:
jahorton 2020-04-07 08:47:41 +07:00
parent 7c81862c2d
commit 5d788c5c84

View file

@ -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;