mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-11 07:04:26 +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
|
@ -305,3 +305,11 @@ OptionParser.prototype.explodeAndSet = function() {
|
|||
// done!
|
||||
};
|
||||
|
||||
// command entry is for the commandview
|
||||
var CommandEntry = Backbone.Model.extend({
|
||||
defaults: {
|
||||
text: ''
|
||||
},
|
||||
localStorage: new Backbone.LocalStorage('CommandEntries')
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue