spiegel-keyman/common/predictive-text/unit_tests/in_browser
Marc Durdin 49eb062c65 feat(web): prediction casing follows current layer
Fixes #6455.

This involved adding an extra hint to the data passed into the lexical
model layer, being the CasingForm that the current layer wants to use.

Given there are several entry points to the lexical model layer, this
meant a few places where we needed to check the current layer.

I refactored the very long function `InputProcessor.processKeyEvent` to
extract out the `buildAlternates` function. There should be no
functional changes to the `buildAlternates` code. But it makes
`processKeyEvent` significantly easier to read.
2022-04-08 16:14:01 +10:00
..
cases chore(common/core/web): Merge branch 'master' into feat/common/core/web/input-processor-unit-tests 2020-11-10 08:27:15 +07:00
json Fix old dummy model test case. 2019-07-25 16:05:04 -06:00
resources/models feat(web): prediction casing follows current layer 2022-04-08 16:14:01 +10:00
base.conf.js Adds a 'config' state to the LMLayer worker. 2019-03-06 09:35:46 +07:00
browser-test.sh fix(common): build script help param 2021-05-28 09:50:40 +10:00
CI.conf.js chore(common/lmlayer): do not run tests in IE11 in Windows 2020-04-09 08:29:04 -06:00
helpers.js Fixing LMLayer BrowserStack CI test configs 2019-06-03 13:42:19 +07:00
manual.conf.js [LMLayer] Disable Firefox and Edge in unit tests 2019-07-26 07:05:57 +10:00