Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Landed] Added LocalStorage adapter. #95

Merged
merged 1 commit into from
Jul 27, 2015
Merged

[Landed] Added LocalStorage adapter. #95

merged 1 commit into from
Jul 27, 2015

Conversation

n1k0
Copy link
Contributor

@n1k0 n1k0 commented Jul 24, 2015

This is ugly as hell but works as a proof of concept. Will pursue next week.

this._db = null;
// public properties
this.dbname = dbname;
this._keyStoreName = `${this.dbname}/__keys`;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this key a public one? (it's prefixed by _)

@almet
Copy link
Member

almet commented Jul 27, 2015

I really like to have different adapters, thanks for doing this.

The code looks good to me. r+ (with comments)

n1k0 added a commit that referenced this pull request Jul 27, 2015
@n1k0 n1k0 merged commit df5e77c into master Jul 27, 2015
@n1k0 n1k0 deleted the localStorage-adapter branch July 27, 2015 15:23
@n1k0 n1k0 changed the title [WiP] Added LocalStorage adapter. [Landed] Added LocalStorage adapter. Jul 27, 2015
@n1k0 n1k0 added this to the 1.0.0 milestone Aug 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants