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

Driver selection #33

Merged
merged 7 commits into from
Feb 8, 2014
Merged

Driver selection #33

merged 7 commits into from
Feb 8, 2014

Conversation

tofumatt
Copy link
Member

@tofumatt tofumatt commented Feb 7, 2014

This patch allows users to select the driver they want to use (effectively, if they want to force localStorage or choose between WebSQL or IndexedDB on Chrome), but will allow for future patches where something like "Don't use localStorage" (#29) is possible.

Note to @sole: I basically went through everything and started lowercasing localforage everywhere. The mixed case was not only confusing, but started to cause weird bugs that existed on Mac but not on Linux. I called the library "localForage" as an allusion to "localStorage", but I'm happy to ditch the "clever" (not really) naming convention if it means more clarity, and I think it's generally annoying to developers to expect them to use mixed-case filenames and library names (see: jQuery is `jquery.js), etc.

Currently, this won't complain if you try to load a driver that won't
work in the browser loaded, so we should probably cover that off before this
gets merged in.
@tofumatt tofumatt mentioned this pull request Feb 7, 2014
@tofumatt
Copy link
Member Author

tofumatt commented Feb 7, 2014

r?

@potch
Copy link
Contributor

potch commented Feb 7, 2014

In your explanation, do you mean 'WebSQL' instead of WebKit?

@tofumatt
Copy link
Member Author

tofumatt commented Feb 7, 2014

Yes, yes I do. (Fixed.)

tofumatt pushed a commit that referenced this pull request Feb 8, 2014
@tofumatt tofumatt merged commit 70de5a7 into master Feb 8, 2014
@tofumatt tofumatt deleted the driver-selection branch February 8, 2014 01:14
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.

None yet

2 participants