[#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

@@ -1,7 +1,7 @@
module("View - Timeline");
test('extract dates and timelineJSON', function () {
var dataset = recline.Backend.createDataset([
var dataset = recline.Backend.Memory.createDataset([
{'Date': '2012-03-20', 'title': '1'},
{'Date': '2012-03-25', 'title': '2'},
]);