forked from pouchdb/pouchdb
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Safari 7 starts throwing DOM Exception 11 if we open up too many db handles, which crashes our unit tests. Caching them fixes that. We actually already tried this once before in 6575e8d, but we forgot to put the cachedDatabases outside the constructor method.
- Loading branch information
1 parent
b4440a1
commit c80159e
Showing
1 changed file
with
8 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters