have locals torage woring

This commit is contained in:
Peter Cottle 2013-01-07 00:12:05 -08:00
parent 0735eb3d64
commit 465b25368e
7 changed files with 113 additions and 39 deletions

View file

@ -163,9 +163,7 @@ var Command = Backbone.Model.extend({
var CommandEntry = Backbone.Model.extend({
defaults: {
text: ''
},
// stub out if no plugin available
localStorage: (Backbone.LocalStorage) ? new Backbone.LocalStorage('CommandEntries') : null
}
});
exports.CommandEntry = CommandEntry;