aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package.json2
-rw-r--r--src/background/index.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/package.json b/package.json
index 6663579..e62dd5c 100644
--- a/package.json
+++ b/package.json
@@ -4,7 +4,7 @@
"scripts": {
"start": "webpack -w --debug",
"lint": "eslint src",
- "test": "true"
+ "test": "karma start"
},
"repository": {
"type": "git",
diff --git a/src/background/index.js b/src/background/index.js
index d27c557..604ea92 100644
--- a/src/background/index.js
+++ b/src/background/index.js
@@ -2,7 +2,7 @@ import * as actions from '../shared/actions';
import * as tabs from './tabs';
import KeyQueue from './key-queue';
-const queue = new KeyQueue(KeyQueue.DEFAULT_KEYMAP);
+const queue = new KeyQueue();
const keyDownHandle = (request) => {
return queue.push({