diff --git a/extensions/chromium/runet-censorship-bypass/.eslintrc.js b/extensions/chromium/runet-censorship-bypass/.eslintrc.js index 7ab3f09..0c32908 100644 --- a/extensions/chromium/runet-censorship-bypass/.eslintrc.js +++ b/extensions/chromium/runet-censorship-bypass/.eslintrc.js @@ -1,5 +1,5 @@ module.exports = { - extends: ['google'], + extends: ['eslint:recommended', 'google'], env: { browser: true, webextensions: true, diff --git a/extensions/chromium/runet-censorship-bypass/src/extension-common/11-error-handlers-api.js b/extensions/chromium/runet-censorship-bypass/src/extension-common/11-error-handlers-api.js index a9d69d4..aaecb3b 100644 --- a/extensions/chromium/runet-censorship-bypass/src/extension-common/11-error-handlers-api.js +++ b/extensions/chromium/runet-censorship-bypass/src/extension-common/11-error-handlers-api.js @@ -3,6 +3,7 @@ { // Private namespace const timeouted = window.utils.timeouted; + const throwIfError = window.utils.throwIfError; const errorJsonReplacer = function errorJsonReplacer(key, value) { diff --git a/extensions/chromium/runet-censorship-bypass/src/extension-common/35-pac-kitchen-api.js b/extensions/chromium/runet-censorship-bypass/src/extension-common/35-pac-kitchen-api.js index a221a00..d3d726d 100644 --- a/extensions/chromium/runet-censorship-bypass/src/extension-common/35-pac-kitchen-api.js +++ b/extensions/chromium/runet-censorship-bypass/src/extension-common/35-pac-kitchen-api.js @@ -158,7 +158,7 @@ } - }; + } window.apis.pacKitchen = {