Skip to content

Commit

Permalink
Merge pull request #103 from desarrollotv/master
Browse files Browse the repository at this point in the history
jQuery.Model.List.Local
  • Loading branch information
daffl committed Oct 11, 2012
2 parents db3ec80 + df1bcab commit f4c6b79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/list/local/local.js
Expand Up @@ -26,7 +26,7 @@ $.Model.List("jQuery.Model.List.Local",
// go through and listen to instance updating // go through and listen to instance updating
var ids = [], days = this.days; var ids = [], days = this.days;
this.each(function(i, inst){ this.each(function(i, inst){
window.localStorage[inst.identity()] = instance.attrs(); window.localStorage[inst.identity()] = inst.attrs();
ids.push(inst.identity()); ids.push(inst.identity());
}); });
window.localStorage[name] = { window.localStorage[name] = {
Expand Down

0 comments on commit f4c6b79

Please sign in to comment.