mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 00:15:32 +00:00
Apply suggestions from code review
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
Co-authored-by: Marc Durdin <marc@durdin.net>
This commit is contained in:
parent
47ec50bc2c
commit
f74ffef07a
3 changed files with 4 additions and 4 deletions
|
|
@ -63,7 +63,7 @@ await keyman.addKeyboards({
|
|||
id: 'en', // A BCP 47 code uniquely identifying the language.
|
||||
name: 'English (US)' // The language's name.
|
||||
},
|
||||
filename: './us-1.0.js' // A valid path to the compiled *.js file representing the keyboard.
|
||||
filename: './us.js' // A valid path to the compiled *.js file representing the keyboard.
|
||||
});
|
||||
```
|
||||
|
||||
|
|
@ -75,7 +75,7 @@ languages:{
|
|||
name:'Lao',
|
||||
font:{
|
||||
family:'LaoWeb',
|
||||
source:['../font/saysettha_web.ttf','../font/saysettha_web.woff','../font/saysettha_web.eot']
|
||||
source:['../font/saysettha_web.ttf','../font/saysettha_web.woff']
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ Adds keyboards to KeymanWeb. Note that this is an asynchronous operation.
|
|||
## Syntax
|
||||
|
||||
```js
|
||||
async keyman.addKeyboards(spec[, spec...])
|
||||
await keyman.addKeyboards(spec[, spec...])
|
||||
```
|
||||
|
||||
### Parameters
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ operation.
|
|||
## Syntax
|
||||
|
||||
```js
|
||||
async keyman.addKeyboardsForLanguage(spec[, spec...])
|
||||
await keyman.addKeyboardsForLanguage(spec[, spec...])
|
||||
```
|
||||
|
||||
### Parameters
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue