Skip to content

Commit

Permalink
v.0.9.170
Browse files Browse the repository at this point in the history
  • Loading branch information
mbykov committed Oct 14, 2019
1 parent 7155403 commit 18849ad
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 13 deletions.
2 changes: 1 addition & 1 deletion app/app.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/app.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/background.js

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.9.169",
"version": "0.9.170",
"name": "biblos.js",
"productName": "Biblos.js",
"description": "Biblos.js, a.k.a Morpheus for Ancient Greek based on CouchDB && Electron.js",
Expand Down Expand Up @@ -76,7 +76,7 @@
"release": "webpack --config=build/webpack.app.config.js --env=production && electron-builder"
},
"dependencies": {
"antrax": "^0.9.147",
"antrax": "^0.9.149",
"axios": "^0.18.0",
"electron-clipboard-extended": "^1.1.1",
"electron-settings": "^3.2.0",
Expand Down
9 changes: 8 additions & 1 deletion src/lib/nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,20 @@ Mousetrap.bind(['ctrl+p'], function(ev) {

Mousetrap.bind(['ctrl+f'], function(ev) {
console.log('_________+F: future diglossa.js connection')
let cfg = settings.get('cfg')
if (!cfg) return
cfg = JSON.parse(JSON.stringify(cfg))
console.log('_________+F: cfg:', cfg)
})

Mousetrap.bind(['ctrl+g'], function(ev) {
let cfg = settings.get('cfg')
if (!cfg) return
cfg = JSON.parse(JSON.stringify(cfg))
console.log('_________+F: cfg:', cfg)
cfg = _.filter(cfg, dict=> { return dict.dname != 'souda'})
cfg.forEach((dict, idx)=> { dict.idx = idx})
console.log('_________+G: cfg:', cfg)
settings.set('cfg', cfg)
})

Mousetrap.bind(['ctrl+r'], function(ev) {
Expand Down
Loading

0 comments on commit 18849ad

Please sign in to comment.