Skip to content

Commit

Permalink
Merge pull request #2 from manusa/feature/nspell-blocking
Browse files Browse the repository at this point in the history
Spell-checker with multiple dictionaries and non-blocking UI
  • Loading branch information
manusa authored Jan 1, 2020
2 parents 5ac3fc2 + 5c8dd00 commit 25f8a2c
Show file tree
Hide file tree
Showing 15 changed files with 298 additions and 110 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,9 @@ spell checking for free.
## Acknowledgements

- [Electron](https://electronjs.org/)
- [Bulma](https://github.com/jgthms/bulma)
- [Chrome tabs](https://github.com/adamschwartz/chrome-tabs#readme)
- [Draggabilly](https://github.com/desandro/draggabilly)
- [Simple spell checker](https://github.com/jfmdev/simple-spellchecker)
- [Bulma](https://github.com/jgthms/bulma)
- [Font Awesome Free](https://github.com/FortAwesome/Font-Awesome)
- [Nodehun](https://github.com/Wulf/nodehun/)
- [Woorm's dictionary repo](https://github.com/wooorm/dictionaries)
190 changes: 136 additions & 54 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 20 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,27 @@
"@fortawesome/fontawesome-free": "^5.12.0",
"bulma": "^0.8.0",
"chrome-tabs": "^5.4.0",
"dictionary-ca": "^2.1.1",
"dictionary-ca-valencia": "^2.1.1",
"dictionary-de": "^2.0.2",
"dictionary-en-gb": "^2.1.1",
"dictionary-en-us": "^2.1.1",
"dictionary-es": "^1.2.3",
"dictionary-eu": "^3.1.1",
"dictionary-fr": "^2.3.2",
"dictionary-it": "^1.3.1",
"dictionary-ka": "^1.0.0",
"dictionary-lt": "^1.0.1",
"dictionary-nl": "^1.3.2",
"dictionary-pl": "^1.2.2",
"dictionary-pt": "^1.3.1",
"dictionary-pt-br": "^1.2.2",
"dictionary-ru": "^1.2.2",
"dictionary-sv": "^2.0.2",
"dictionary-tr": "^1.3.1",
"dictionary-uk": "^2.1.1",
"draggabilly": "^2.2.0",
"electron": "^7.1.6",
"simple-spellchecker": "^1.0.0"
"nodehun": "^3.0.1"
}
}
1 change: 1 addition & 0 deletions src/constants/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const APP_EVENTS = {
activateTab: 'activateTab',
addTabs: 'addTabs',
dictionaryGetMisspelled: 'dictionaryGetMisspelled',
settingsCancel: 'settingsCancel',
settingsOpenDialog: 'settingsOpenDialog',
settingsSave: 'settingsSave',
Expand Down
1 change: 1 addition & 0 deletions src/main/__tests__/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ describe('Main module test suite', () => {
updateSettings: jest.fn()
}));
settingsModule = require('../../settings');
jest.mock('../../spell-check');
jest.mock('../../tab-manager', () => ({}));
main = require('../');
});
Expand Down
Loading

0 comments on commit 25f8a2c

Please sign in to comment.