Apply suggestions from code review
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:
Eberhard Beilharz 2026-05-28 10:49:59 +02:00 committed by GitHub
parent 47ec50bc2c
commit f74ffef07a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View file

@ -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']
}
}
```

View file

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

View file

@ -10,7 +10,7 @@ operation.
## Syntax
```js
async keyman.addKeyboardsForLanguage(spec[, spec...])
await keyman.addKeyboardsForLanguage(spec[, spec...])
```
### Parameters