🚿 Lint
This commit is contained in:
parent
f121f46a24
commit
ede3dbd201
1 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
const getStorage = () => {
|
const getStorage = () => {
|
||||||
const data = window.localStorage.getItem('__chrome.storage.sync__')
|
const data = window.localStorage.getItem('__chrome.storage.sync__')
|
||||||
if (data != null) {
|
if (data != null) {
|
||||||
return JSON.parse(data)
|
return JSON.parse(data)
|
||||||
|
@ -29,9 +29,9 @@ module.exports = {
|
||||||
defaults = keys
|
defaults = keys
|
||||||
keys = Object.keys(keys)
|
keys = Object.keys(keys)
|
||||||
}
|
}
|
||||||
break;
|
break
|
||||||
}
|
}
|
||||||
if (keys.length === 0 ) return {}
|
if (keys.length === 0) return {}
|
||||||
|
|
||||||
let items = {}
|
let items = {}
|
||||||
keys.forEach(function (key) {
|
keys.forEach(function (key) {
|
||||||
|
|
Loading…
Reference in a new issue