Skip to content

Commit

Permalink
Resolved merge conflicts last PR somehow caused.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuclear-Squid committed Feb 16, 2024
2 parents 1e97ae4 + 6aecb91 commit 626178d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion js/dactylo.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,9 @@ window.addEventListener('DOMContentLoaded', () => {
Array.from(word).every(letter => lessonLetters.indexOf(letter) >= 0);

gLessonWords = [];
for (dict of [gDictionary.words, gDictionary.trigrams, gDictionary.bigrams, rawLetters]) {
for (const dict of [
gDictionary.words, gDictionary.trigrams, gDictionary.bigrams, rawLetters
]) {
gLessonWords = gLessonWords.concat(dict.filter(lessonFilter));
if (gLessonWords.length > MIN_WORD_COUNT) {
break;
Expand Down

0 comments on commit 626178d

Please sign in to comment.