mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-16 17:44:28 +02:00
damn awesome local storage now
This commit is contained in:
parent
0fbbbcf35d
commit
7e28fd8452
4 changed files with 63 additions and 8 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue