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

@ -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')
});