superfeedr/indexeddb-backbonejs-adapter — pull request #34 by axemclion (2013-03-08 04:26:47+00:00)
Title: Use ajaxSync if no database is specified

If in a collection or a model, no database field is specified, fallback on ajax sync. This will enable only certain models of a project to be saved in IndexedDB while others can still be synced. Will make existing projects adapt this easily.

Added in this commit
- Logic to fall back on ajaxSync
- Added test case for it
- Mock Ajax to test ajaxSync.