Permalink
Browse files

Specify that mouse-forward-back is an optional dependency

  • Loading branch information...
christianbundy committed Jan 22, 2019
1 parent a131438 commit bb6ea7736458cc3a8af61ba2954c057c6e21dbdd
Showing with 107 additions and 47 deletions.
  1. +6 −1 main-window.js
  2. +98 −45 package-lock.json
  3. +3 −1 package.json
@@ -13,7 +13,12 @@ var ref = require('ssb-ref')
var setupContextMenuAndSpellCheck = require('./lib/context-menu-and-spellcheck')
var watch = require('mutant/watch')
var requireStyle = require('require-style')
var mouseForwardBack = require('mouse-forward-back')

try {
var mouseForwardBack = require('mouse-forward-back')
} catch (er) {
mouseForwardBack = false
}

module.exports = function (config) {
var sockets = combine(

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -48,7 +48,6 @@
"micro-css": "^2.0.1",
"moment-timezone": "^0.5.23",
"multiserver-dht": "^4.0.0",
"mouse-forward-back": "^1.0.1",
"mutant": "github:mmckegg/mutant#intersection-binding-viewport",
"mutant-pull-reduce": "^1.1.0",
"node-abi": "^2.5.0",
@@ -100,5 +99,8 @@
"devDependencies": {
"colors": "^1.3.2",
"electron": "^2.0.13"
},
"optionalDependencies": {
"mouse-forward-back": "^1.0.1"
}
}

0 comments on commit bb6ea77

Please sign in to comment.