mirror of
https://github.com/keymanapp/keyman.git
synced 2026-10-15 02:17:32 +00:00
chore(web): use const and let
This commit is contained in:
parent
9071190181
commit
3caf123604
1 changed files with 4 additions and 4 deletions
|
|
@ -20,11 +20,11 @@ export class PlatformSystemStore extends SystemStore {
|
|||
}
|
||||
|
||||
matches(value: string) {
|
||||
var i,constraint,constraints=value.split(' ');
|
||||
let device = this.kbdInterface.activeDevice;
|
||||
const constraints=value.split(' ');
|
||||
const device = this.kbdInterface.activeDevice;
|
||||
|
||||
for(i=0; i<constraints.length; i++) {
|
||||
constraint=constraints[i].toLowerCase();
|
||||
for(let i=0; i<constraints.length; i++) {
|
||||
let constraint=constraints[i].toLowerCase();
|
||||
switch(constraint) {
|
||||
case 'touch':
|
||||
case 'hardware':
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue