🚿 Lint

This commit is contained in:
Jessica Lord 2016-06-09 16:39:24 -07:00
parent f121f46a24
commit ede3dbd201

View file

@ -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) {