I hereby claim:
- I am joyvuu-dave on github.
- I am riddle (https://keybase.io/riddle) on keybase.
- I have a public key ASBbPBjshrAgdnehpHOe6TPTPdC7upXgoqbT0ubU97krhAo
To claim this, I am signing this object:
language: ruby | |
bundler_args: --without production | |
cache: bundler | |
rvm: |
export default class WebStorage { | |
constructor(key, storageArea = window.localStorage) { | |
this.key = key; | |
this.storageArea = storageArea; | |
} | |
load(defaultValue) { | |
const serialized = this.storageArea.getItem(this.key); | |
return serialized === null ? defaultValue : this.deserialize(serialized); | |
} |
I hereby claim:
To claim this, I am signing this object: