jo / backbone-pouch

Backbone PouchDB Adapter
http://jo.github.io/backbone-pouch/
MIT License
163 stars 27 forks source link

Consolidate API #29

Open jo opened 10 years ago

jo commented 10 years ago

I am not very happy with the current API because there are three ways to configure the adapter:

  1. in BackbonePouch.sync(options)
  2. in the model: pouch: options
  3. during fetch: fetch(options)

While each is useful, there might be a simpler way to do this without loosing flexibility. This is related to #27.