Please check the existing issues to make sure your issue hasn't already been filed.
If you have a bug to report, please file it. You are also encouraged to create an example (or edit an existing one) to showcase your issue.
If you'd like to see a feature implemented, you can file an issue, but know that pull requests for small things like adding a line in a config file will get more attention than an issue asking someone else to do it.
See below for issues that have been discussed and will be rejected.
First off: thanks! Open source software (and thus all software) exists because of people like you. <3
If you'd like to contribute to localForage, it's as simple as opening a pull request on GitHub. After that someone will code review your work and either ask you to fix any errors or merge the code into master. Here are a few tips:
grunt build
before you commit: this will build out the files in the dist/
folder and ensure your tests passPlease commit changes at the top-level folder along with your changes in the
src/
folder--do not make these changes separate commits. These are the
built versions of localforage.js
and localforage.min.js
, which are
used by bower.
If you have any questions, need some help, or anything else, don't feel shy!
The team behind this library is often available on IRC
(irc.mozilla.org on the #apps
channel).
All code can be tested for style by running the unit tests (npm test
). This will make sure your code conforms to our styleguide. (You can read the rules in .jshint
and .jscsrc
.)
localForage is a browser library with a specific focus on client-side, offline storage. It is not a general-purpose storage library and is not meant to allow for the same API on the client and the server. Implementing the localForage API wouldn't be hard (it's just localStorage with callbacks and ES6 promises), but it's a job for another library.
Basically this means anything before IE 8. I know there are hacky ways to support storage with cookies or IE Userdata or whatever, but anything worse than localStorage isn't worth investing into.