mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-07 09:25:33 +00:00
fix(common/lmlayer): arrow fn -> fn expr (IE11 compat)
This commit is contained in:
parent
aa1552fbe8
commit
42bc0197fb
1 changed files with 3 additions and 1 deletions
|
|
@ -67,7 +67,9 @@ describe('LMLayer using the trie model', function () {
|
|||
return lmLayer.predict(type('ï'), atEndOfBuffer('na'));
|
||||
}).then(function (rawSuggestions) {
|
||||
// Discard the keep suggestion
|
||||
var suggestions = rawSuggestions.filter(s => s.tag != 'keep')
|
||||
var suggestions = rawSuggestions.filter(function skimKeepSuggestions(s) {
|
||||
return s.tag !== 'keep'
|
||||
})
|
||||
assert.isAtLeast(suggestions.length, 1)
|
||||
|
||||
// We SHOULD get 'naïve' suggested
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue