mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 00:15:32 +00:00
Merge pull request #16070 from keymanapp/chore/web/improvedoc
chore(web): more improvements to documentation - some small updates to the text
This commit is contained in:
commit
52e6854d9f
3 changed files with 2 additions and 4 deletions
|
|
@ -36,7 +36,7 @@
|
|||
|
||||
<p>Email to <span class='note'>(KeymanWeb not enabled)</span><br /><input type='text' name='address' size="40" placeholder="id = address"/></p>
|
||||
|
||||
<p>Subject <span class='note'>(Defaults to 'English' or 'off' unless on a touch-based device)</span><br /><input type='text' name='subject' size="40" placeholder="id = subject"/></p>
|
||||
<p>Subject <span class='note'>(Defaults to '(System keyboard)' or 'off' unless on a touch-based device)</span><br /><input type='text' name='subject' size="40" placeholder="id = subject"/></p>
|
||||
|
||||
<p>Message body <span class='note'>(Defaults to 'LaoKeys')</span><br /><textarea name='text' cols='40' rows='10' placeholder="id = text"></textarea></p>
|
||||
|
||||
|
|
|
|||
|
|
@ -31,8 +31,6 @@ In this example, we use only the LaoKey keyboard. Please click
|
|||
</head>
|
||||
```
|
||||
|
||||
As you can see above, the second line in the code snippet above references the LaoKey keyboard loader JavaScript file. This is a small stub file, typically less than 200 bytes, that defines the name and actual location of the real keyboard file (in this case, **laokeys.js**). When a page may reference many keyboards, this saves downloading potentially hundreds of kilobytes of unused Javascript keyboards - the keyboard is downloaded when it is first selected by the user.
|
||||
|
||||
## API References
|
||||
|
||||
On initialization: [`keyman.init()`](../../reference/core/init).
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ describe('LanguageProcessor', function() {
|
|||
assert.isTrue(languageProcessor.mayPredict);
|
||||
|
||||
// Some aspects of initialization must wait until after construction and overall
|
||||
// load of the core. See /web/source/kmwbase.ts, in the final IIFE.
|
||||
// load of the core.
|
||||
assert.isOk(languageProcessor.lmEngine);
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue