aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2018-03-15 01:59:47 +0800
committerkumavis <aaron@kumavis.me>2018-03-15 01:59:47 +0800
commit6aef2ed0b26861b3402e13d4e2a7e401ac3e99c8 (patch)
tree4461cb8d1f552b3c1bbdac7cd7cd1fcdcbad6d17
parentc4e90c9359de3b4c54622bde3f396bc753c9cffb (diff)
downloadtangerine-wallet-browser-6aef2ed0b26861b3402e13d4e2a7e401ac3e99c8.tar
tangerine-wallet-browser-6aef2ed0b26861b3402e13d4e2a7e401ac3e99c8.tar.gz
tangerine-wallet-browser-6aef2ed0b26861b3402e13d4e2a7e401ac3e99c8.tar.bz2
tangerine-wallet-browser-6aef2ed0b26861b3402e13d4e2a7e401ac3e99c8.tar.lz
tangerine-wallet-browser-6aef2ed0b26861b3402e13d4e2a7e401ac3e99c8.tar.xz
tangerine-wallet-browser-6aef2ed0b26861b3402e13d4e2a7e401ac3e99c8.tar.zst
tangerine-wallet-browser-6aef2ed0b26861b3402e13d4e2a7e401ac3e99c8.zip
local-store - fix class syntax
-rw-r--r--app/scripts/lib/local-store.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/scripts/lib/local-store.js b/app/scripts/lib/local-store.js
index 175126d86..5b47985f6 100644
--- a/app/scripts/lib/local-store.js
+++ b/app/scripts/lib/local-store.js
@@ -28,7 +28,7 @@ module.exports = class ExtensionStore {
return this._set(state)
}
- function _get() {
+ _get() {
const local = extension.storage.local
return new Promise((resolve, reject) => {
local.get(null, (result) => {
@@ -42,7 +42,7 @@ module.exports = class ExtensionStore {
})
}
- function _set(obj) {
+ _set(obj) {
const local = extension.storage.local
return new Promise((resolve, reject) => {
local.set(obj, () => {