Permalink
Browse files

Merge pull request #103 from desarrollotv/master

jQuery.Model.List.Local
  • Loading branch information...
2 parents db3ec80 + df1bcab commit f4c6b79a63bb21e15a9750a48e1d5ae17b65099c @daffl daffl committed Oct 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 model/list/local/local.js
@@ -26,7 +26,7 @@ $.Model.List("jQuery.Model.List.Local",
// go through and listen to instance updating
var ids = [], days = this.days;
this.each(function(i, inst){
- window.localStorage[inst.identity()] = instance.attrs();
+ window.localStorage[inst.identity()] = inst.attrs();
ids.push(inst.identity());
});
window.localStorage[name] = {

0 comments on commit f4c6b79

Please sign in to comment.