Skip to content

Commit

Permalink
fix cache writing
Browse files Browse the repository at this point in the history
  • Loading branch information
atomizer committed Jan 18, 2015
1 parent e021a2c commit e827ec4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mule.js
Expand Up @@ -290,7 +290,7 @@ Mule.prototype.parse = function(data) {
delete d.News;
// write cache
try {
localStorage[this.cacheId] = JSON.stringify(data);
localStorage[this.cache_id()] = JSON.stringify(data);
} catch(e) {}

this.updated = new Date(data.query.created);
Expand Down

0 comments on commit e827ec4

Please sign in to comment.