damn awesome local storage now

This commit is contained in:
Peter Cottle 2012-10-23 10:39:06 -07:00
parent 0fbbbcf35d
commit 7e28fd8452
4 changed files with 63 additions and 8 deletions

View file

@ -10,6 +10,11 @@ var BranchCollection = Backbone.Collection.extend({
model: Branch
});
var CommandEntryCollection = Backbone.Collection.extend({
model: CommandEntry,
localStorage: new Backbone.LocalStorage('CommandEntries')
});
var CommandBuffer = Backbone.Model.extend({
defaults: {
collection: null,