From 7d66b42bb026c08214b3a26d7d859048200f3497 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Tue, 31 Jul 2018 21:29:52 +0900 Subject: Update eslint --- src/shared/settings/validator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shared/settings') diff --git a/src/shared/settings/validator.js b/src/shared/settings/validator.js index 1589420..a800a52 100644 --- a/src/shared/settings/validator.js +++ b/src/shared/settings/validator.js @@ -27,7 +27,7 @@ const validateKeymaps = (keymaps) => { const validateSearch = (search) => { let engines = search.engines; for (let key of Object.keys(engines)) { - if (/\s/.test(key)) { + if ((/\s/).test(key)) { throw new Error( `While space in search engine name is not allowed: "${key}"` ); -- cgit v1.2.3 From ab9183f575d6b220694006d9b155735eaeb275cd Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Thu, 2 Aug 2018 20:51:03 +0900 Subject: Fix property document --- src/shared/settings/properties.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shared/settings') diff --git a/src/shared/settings/properties.js b/src/shared/settings/properties.js index b392cbb..e8d06da 100644 --- a/src/shared/settings/properties.js +++ b/src/shared/settings/properties.js @@ -16,7 +16,7 @@ const defaults = { }; const docs = { - hintchars: 'Hint characters on follow mode', + hintchars: 'hint characters on follow mode', smoothscroll: 'smooth scroll', adjacenttab: 'open adjacent tabs', }; -- cgit v1.2.3 From aa777dd6a2113b4db4ec0bfe13f38369687348bb Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Thu, 2 Aug 2018 22:09:14 +0900 Subject: Fix default settings --- src/shared/settings/default.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/shared/settings') diff --git a/src/shared/settings/default.js b/src/shared/settings/default.js index a435099..55dbc3a 100644 --- a/src/shared/settings/default.js +++ b/src/shared/settings/default.js @@ -40,7 +40,7 @@ export default { "zi": { "type": "zoom.in" }, "zo": { "type": "zoom.out" }, "zz": { "type": "zoom.neutral" }, - "f": { "type": "follow.start", "newTab": false, "background": false }, + "f": { "type": "follow.start", "newTab": false }, "F": { "type": "follow.start", "newTab": true, "background": false }, "H": { "type": "navigate.history.prev" }, "L": { "type": "navigate.history.next" }, @@ -70,6 +70,11 @@ export default { } }, "properties": { - } + "hintchars": "abcdefghijklmnopqrstuvwxyz", + "smoothscroll": false, + "adjacenttab": true + }, + "blacklist": [ + ] }`, }; -- cgit v1.2.3