Allow creation of object stores on demand
I am currently writing a Backbone.js wrapper around bongo.js which seems to be really simple. My only problem currently is, that bongo.js allows the on demand creation of databases but not of object stores. I could implement this myself but wanted to check if this is something you would consider merging or if the initialisation with bongo.db() is the only way you would like this to be done.
I think on-demand creation of objectStores is a great idea. It would also be easy to implement and I'd be happy to put it in soon.
The only caveat is it is much safer to define/create the database (with objectStores) all at once. Chrome and Firefox have bugs right now that make one-after-another version change transactions prone to hanging -- even sometimes requiring a browser restart.
I guess it would be easy to give the user a choice, so its simple to enable if the browsers support it. For now i'll just add an initialization function to my wrapper.