[#128,backend/memory,misc][l]: commence major backend refactor by converting recline.Backend.Memory to module and splitting existing code into BackboneSyncer and DataWrapper.

* Lots of other changes to having passing tests (note some actual functionality is likely a little broken esp around state serialization and the app)
This commit is contained in:
Rufus Pollock
2012-05-25 23:42:58 +01:00
parent 39c72aef13
commit 23b32dff1c
9 changed files with 250 additions and 169 deletions

View File

@@ -19,7 +19,7 @@ var Fixture = {
{id: 4, date: '2011-05-04', x: 5, y: 10, z: 15, country: 'UK', label: 'fifth', lat:51.58, lon:0},
{id: 5, date: '2011-06-02', x: 6, y: 12, z: 18, country: 'DE', label: 'sixth', lat:51.04, lon:7.9}
];
var dataset = recline.Backend.createDataset(documents, fields);
var dataset = recline.Backend.Memory.createDataset(documents, fields);
return dataset;
}
};