mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-28 08:50:06 +02:00
have locals torage woring
This commit is contained in:
parent
0735eb3d64
commit
465b25368e
7 changed files with 113 additions and 39 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue