Lint with google and fix a potential bug

This commit is contained in:
Ilya Ig. Petrov 2017-02-23 07:56:49 +00:00
parent f20da20e48
commit a606d25227
3 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,5 @@
module.exports = { module.exports = {
extends: ['google'], extends: ['eslint:recommended', 'google'],
env: { env: {
browser: true, browser: true,
webextensions: true, webextensions: true,

View File

@ -3,6 +3,7 @@
{ // Private namespace { // Private namespace
const timeouted = window.utils.timeouted; const timeouted = window.utils.timeouted;
const throwIfError = window.utils.throwIfError;
const errorJsonReplacer = function errorJsonReplacer(key, value) { const errorJsonReplacer = function errorJsonReplacer(key, value) {

View File

@ -158,7 +158,7 @@
} }
}; }
window.apis.pacKitchen = { window.apis.pacKitchen = {