mozilla/localForage — pull request #313 by chmp (2014-12-02 20:32:02+00:00)
Title: Fix promise resolution in IndexedDB driver for DB updates (issue 154)

These changes should fix #154 . Specifically, in chrome the success handler of the promise returned by setItem is called before the data is written. As discussed in [this stackoverflow answer](http://stackoverflow.com/a/15155732) the completion of a request does not necessarily mean that the data is written. This commit uses the transaction in all operations modifying the database.